Collections:
Match Google ChromeDriver version with Chrome
How to match Google ChromeDriver version with Chrome version?
✍: FYIcenter.com
If you are using the Chrome WebDriver with the Selenium Java API,
you need to match the Google ChromeDriver version with Google Chrome version.
1. Run Google Chrome and click "Settings > Help > About Google Chrome". You see the version #, like Version 75.0.3770.80.
2. Go to Google ChromeDriver Website.
3. Open "75.0.3770.8" and click on "chromedriver_win32.zip" to start the download.
4. Save the download file to C:\fyicenter\chromedriver_win32.zip.
5. Unzip the download file to C:\fyicenter\selenium\chromedriver folder.
6. Run the ChromeTest.java again with the matching ChromeDriver:
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.chrome.driver=\fyicenter\selenium\chromedriver\chromedriver.exe \ ChromeTest Starting ChromeDriver 75.0.3770.8 (...-refs/branch-heads/3770@{#40}) on port 8247 Only local connections are allowed. Please protect ports used by ChromeDriver and related test frameworks to prevent access by malicious code. Jun 12, 2019 3:34:32 PM org.openqa.selenium.remote.ProtocolHandshake createSession INFO: Detected dialect: W3C
You see that the Chrome browser is started and stopped correctly with no errors.
⇒ Compatibility of WebDriver Java API for Chrome
⇐ Use Chrome WebDriver with Google ChromeDriver
2020-02-07, 2124🔥, 0💬
Popular Posts:
How to find out my browser request headers? To help you to see your browser request headers, FYIcent...
Where to find test data generators? FYIcenter.com has prepared a number of test data generators for ...
Where to find online test tools? FYIcenter.com has prepared a number of online test tools: Data Look...
How to call JMeter command in a Windows batch file? I want to create a single batch job to run JMete...
How to validate and decode MAC (Media Access Control) addresses? In order to help your programming o...