Category:
Selenium WebDriver
If your organization has a proxy server, you need to specify proxy server details like server name or IP address, username, and password to the WebDriverManager. Otherwise, it may raise/ cause errors like io.github.bonigarcia.wdm.WebDriverManagerException: java.net.UnknownHostException: chromedriver.storage.googleapis.com.
WebDriverManager.chromedriver()
.version(“83.0.0”)
.arch32()
.proxy(“proxyhostname:80”)
.proxyUser(“username”)
.proxyPass(“password”)
.setup();