Now Reading
Fix for use of Windows 10 RS5 webdriver for automation

Fix for use of Windows 10 RS5 webdriver for automation

Windows 10 RS5 : Microsoft Webdriver not launching through selenium

The ideal way to launch Edge browser using Microsoft Edge Driver through selenium

Before proceeding, to start using Webdriver with Microsoft Edge browser, make sure you have Windows 10 on your machine and download the specified Microsoft WebDriver server version for your build. You can download latest version of Microsoft WebDriver from here. Make sure to check Edge version supported and download.

To check the edge browser version, click on the three dots that you see on the top right corner on your edge browser (after address bar) and Settings link. You see version beside ‘Microsoft EdgeHTML’. Looks like the below screenshot.
RS10 issue

Once you download the ‘MicrosoftWebDriver.exe’ file, copy driver path / location as we do to launch Chrome and Firefox browsers.

In order to launch Edge Browser, we need to specify the system property with the path of the MicrosoftWebDriver.exe file.

import org.openqa.selenium.WebDriver;
import org.openqa.selenium.edge.EdgeDriver;
public class Example {
String driverPath = "";
public WebDriver driver;
public void launchBrowser() {
System.out.println("launching Microsoft Edge browser");
System.setProperty("webdriver.edge.driver", driverPath+"MicrosoftWebDriver.exe");
driver = new EdgeDriver();
driver.close(); }

Now with Windows 10 R5, the above method doesn’t work as Microsoft WebDriver is now a Feature on Demand
Microsoft has made Microsoft WebDriver a Feature on Demand (FoD) to make it easier to get the right version for your device


The simplest way to get started is to enable Developer Mode. Open the Settings app and go to “Update & Security,” “For developers,” and select “Developer Mode.” The appropriate version of WebDriver will be automatically installed.

You can also install a standalone version of WebDriver in one of two ways:

  • Search “Manage optional features” from Start, then select “Add a Feature,” “WebDriver.”
  • Install via DISM by running the following command in an elevated command prompt:DISM.exe /Online /Add-Capability /CapabilityName:Microsoft.WebDriver~~~~

This also means that the standalone download will no longer be made available for insiders or future stable versions of Windows, as installation is now built into Windows.

To install WebDriver, just turn on Developer Mode in Windows 10 Settings, or install the standalone feature on the Manage optional features Settings page.

See Also


Issue : At times you might face issue with following solution something like : “ 0x800f0954 error message”, while enabling Developer Mode in Win 10 17763.

Solution : Change


key UseWUServer to 0 and restart the windows update service, it will work. The reason behind this is it updates through Windows Update and not WSUS. This will enable Developer mode and it downloads MicrosoftWebDriver.


Microsoft WebDriver now gets installed to C:WindowsSystem32 and will automatically be on the PATH for the machine once installed. Now they are shipping 64-bit Microsoft WebDriver to x64 machines. There is a known issue for x64 machines building in Visual Studio with Selenium, where by default Visual Studio builds 32bit and will only check the C:WindowsSysWOW64 folder for PATH variables. To work around this issue, target and build 64bit from Visual Studio. In a future build, there is a plan to publish both 32bit and 64bit binaries in FoD for 64bit machines, which should address this issue.

View Comments (0)

Leave a Reply

Your email address will not be published.

Scroll To Top