Monday, November 13, 2017

Running Selenium Test in Microsoft Edge

Prerequisite: Windows 10 is installed on your machine
  1. Download the specified Microsoft WebDriver server version for your build (In my case it is MicrosoftWebDriver.exe for the Operating System: Windows 10 Pro 64-bit (10.0, Build 14393))
  2. Selenium WebDriver Java code for MS Edge is as follows:
    System.setProperty("webdriver.edge.driver", "D:\Ripon\MicrosoftWebDriver.exe");
    driver = new EdgeDriver();

No comments:

Post a Comment