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

后端 未结 7 921
猫巷女王i
猫巷女王i 2020-12-01 06:00

As of the date of this post the name \"Microsoft Edge\" has just been officially announced as the default browser for the new Windows 10.

It may be premature to ask

7条回答
  •  执念已碎
    2020-12-01 06:38

    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 WD Java code for MS Edge is as follows:

      System.setProperty("webdriver.edge.driver", "D:\Ripon\MicrosoftWebDriver.exe");
      driver = new EdgeDriver();

提交回复
热议问题