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

后端 未结 7 867
猫巷女王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:25

    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.

提交回复
热议问题