How to Install Edge and the Microsoft Edge WebDriver#
Install Microsoft Edge#
Edge is a free, open-source web browser developed by Microsoft. Visit their website to find out more and download the latest version of Edge.
Install Microsoft Edge WebDriver#
Microsoft also provides a guide on how to install and download the WebDriver for Microsoft Edge.
Troubleshooting and Tips#
If you are planning to use different browsers, please refer to the guide on options for browser types.
Tip
Always keep your browser and driver up to date. The EdgeDriver version should usually match the browser version, otherwise Browserist might throw an error.
How to Use Edge with Browserist#
Once you have successfully installed the Edge browser and its WebDriver, you can start using them with Browserist. Here is an example of how to automate Edge using Browserist. Simply select Edge as the browser type in the BrowserSettings
configuration:
Python | |
---|---|
1 2 3 4 5 6 7 |
|
Lean more about how to use different browser types.
Default Browser for Windows
Edge is the default browser for running Browserist on Windows. On other operating systems, such as macOS and Linux, Chrome is the default browser. Therefore, in most cases, there is no need to specify the browser type in the BrowserSettings
configuration, which simplifies your code:
Python | |
---|---|
1 2 3 4 5 |
|