Is there a Selenium WebDriver available for the Microsoft Edge browser? Is there a Selenium WebDriver available for the Microsoft Edge browser? selenium selenium

Is there a Selenium WebDriver available for the Microsoft Edge browser?


Yes, there is a WebDriver implementation for Microsoft Edge. Its initial availability was announced on 23 July 2015. Language bindings in the Selenium open source project have been updated to take advantage of this driver implementation, and those updates have been released in Selenium 2.47. Note that the Java language bindings were re-released as 2.47.1 to correct an initial issue. The initial implementation has limited functionality, but Microsoft is committed to bringing a fully functional driver implementation to fruition, so updates will be forthcoming.


Microsoft has provided MicrosoftWebDriver which can be used for Edge browser.

  1. Correct version of MicrosoftWebDriver needs to be downloaded, based on the OS Build number

  2. Go to Start > Settings > System > About and note down the OS Build number.

  3. Download the proper version of the driver from this link - https://developer.microsoft.com/en-us/microsoft-edge/tools/webdriver/

  4. If the file that's downloaded is .msi, then install it to get the .exe driver. For one of the release, direct .exe can be downloaded.

  5. Once the MicrosoftWebDriver.exe is downloaded, we can use it in our test script using either System.setProperty("webdriver.edge.driver", "driver location") or using environment variable

The sample script would be like this -

System.setProperty("webdriver.edge.driver","C:\\Program Files (x86)\\Microsoft Web Driver\\MicrosoftWebDriver.exe"); //put actual locationWebDriver driver = new EdgeDriver();driver.get("your link");

Refer this article for detailed information - http://automationtestinghub.com/selenium-3-launch-microsoft-edge-with-microsoftwebdriver/


The Microsoft Edge driver for Selenium can be automatically downloaded (for Java) using the library webdrivermanager as follows:

EdgeDriverManager.getInstance().setup();

The variable webdriver.edge.driver is also exported by webdrivermanager with the proper path of MicrosoftWebDriver.exe.