Thursday, October 17, 2019

JAVA Selenium Browser Automation Getting Started


Simple Note

Two versions,

use io.github.bonigarcia WebDriverManager to set up ChromeDriver
GettingStartedWithDriverManager.java

manually download chromedriver.exe and specify path
GettingStartedWithDownloadedChromeDriver.java

and this is a Maven Project so
pom.xml

Related Resources

 Download ChromeDriver here:
 https://chromedriver.chromium.org/downloads

 Check what version of Chrome do you have
 https://www.whatismybrowser.com/detect/what-version-of-chrome-do-i-have

References

Example Maven pom.xml for Java based Selenium WebDriver project for Firefox

release Selenium chromedriver.exe from memory

1 comment: