Collections:
Match Microsoft Edge Driver version with Edge
How to match Microsoft Edge Driver version with Edge browser version?
✍: FYIcenter.com
If you are using the Edge WebDriver with the Selenium Java API, you need to match the Microsoft Edge Driver version with Microsoft Edge browser version.
1. Run Microsoft Edge and click "Settings".
2. Scroll down. You see the EdgeHTML version #, like "EdgeHTML 17.17134". Do not look at the Edge version #, like "Edge 42.17134.1.0"
3. Go to Microsoft Edge Driver Website.
4. Click on "Release 17134" to start the download.
5. Save the download file to C:\fyicenter\MicrosoftWebDriver.exe
6. Copy the download file to C:\fyicenter\selenium\edgedriver folder.
7. Run the EdgeTest.java again with the matching Edge Driver:
C:\fyicenter> java -classpath \ .;\fyicenter\selenium\java\client-combined-3.141.59.jar;\ \fyicenter\selenium\java\libs\guava-25.0-jre.jar;\ \fyicenter\selenium\java\libs\okhttp-3.11.0.jar;\ \fyicenter\selenium\java\libs\okio-1.14.0.jar;\ \fyicenter\selenium\java\libs\commons-exec-1.3.jar \ -Dwebdriver.edge.driver=\fyicenter\selenium\edgedriver\MicrosoftWebDriver.exe \ EdgeTest [13:14:36.580] - Listening on http://localhost:8746/ 1:14:39 PM org.openqa.selenium.remote.ProtocolHandshake createSession INFO: Detected dialect: OSS [13:14:41.865] - Stopping server.
You see that the Edge browser is started and stopped correctly with no errors.
⇒ Test Edge with Chrome WebDriver
⇐ Use Edge WebDriver with Microsoft Edge Driver
2020-01-21, 3651🔥, 0💬
Popular Posts:
How to Pass Windows Environment Variable to JMeter? I want to use Windows temporary folder environme...
How to use HTTP protocol to post an XML message to a server? You can follow this tutorial to post an...
How to Pass Windows Environment Variable to JMeter? I want to use Windows temporary folder environme...
How to find out my browser's identification information? To help you to see your browser identificat...
How to validate domain name format? In order to help your programming or testing tasks, FYIcenter.co...