Questions tagged [webdrivermanager-java]

WebDriverManager is a Java library aimed to automate the Selenium Webdriver binaries management in runtime.

WebDriverManager is a Java library aimed to automate the Selenium Webdriver binaries management in runtime.

If you have ever used Selenium Webdriver, you probably know that in order to use browsers such as Chrome, Firefox, Opera, Internet Explorer, Microsoft Edge, or PhantomJS, you need to download a binary which allows WebDriver to handle the browser. This is quite annoying since it forces you to link directly this binary in your source code. In addition, you have to check manually when new versions of the binaries are released. WebDriverManager comes to the rescue, performing in an automated way all this dirty job for you.

137 questions
0
votes
1 answer

getDownloadedDriverVersion() and getDownloadedDriverPath() is returning null for firefox

Even after using latest WDM version, i am getting null for the below code OS: Windows 11, Browser: firefox. WDM version used. // https://mvnrepository.com/artifact/io.github.bonigarcia/webdrivermanager implementation group: 'io.github.bonigarcia',…
0
votes
0 answers

WebDriverManager cannot be resolved

Created Maven project in Eclipse IDE. I added this following dependency. I am getting WebDriverManager unable to resolve error. Can please help in resolving this issue. io.github.bonigarcia
Sri
  • 7
  • 4
0
votes
0 answers

Unable to run example of WebDriverManager 5 browsers in Docker containers feature

I've been trying to run this for a couple of hours, but nothing seemed to do the trick. I have Docker Desktop and the container seem to start up on script execution, but nothing happens for 30 seconds, then it timesout with the message: Caused by:…
0
votes
0 answers

Selenium unable to quit chromeDriver

I am unable to quit the Selenium chrome driver with the command driver.quit() For some reason, it throws a logging error, although, the logger is defined in the JdkHttpClient.java class. Java.lang.NoSuchFieldError: LOG at…
0
votes
0 answers

Getting WebManager Exception: HttpHostConnectException while using Webdriver manager

io.github.bonigarcia.wdm.config.WebDriverManagerException: io.github.bonigarcia.wdm.config.WebDriverManagerException: org.apache.hc.client5.http.HttpHostConnectException: Connect to https://chromedriver.storage.googleapis.com:443 Although I am…
0
votes
1 answer

io.github.bonigarcia.wdm.config.WebDriverManagerException: Error HTTP 403 executing https://msedgedriver.azureedge.net/?restype=container&comp=list

I am running my Selenium automation code in Edge via Jenkins and getting the below error : Caused by: io.github.bonigarcia.wdm.config.WebDriverManagerException: io.github.bonigarcia.wdm.config.WebDriverManagerException: Error HTTP 403 executing…
0
votes
0 answers

WebDriver Manager java.lang.NoSuchMethodError1

I use Java+selenium+testng+maven. And I tried to use WebDriver Manager instead of standard usage. After declaration according to the instruction of API, I ran into a problem. When compiling the errors occur: java.lang.NoSuchMethodError:…
0
votes
2 answers

Error: java: cannot access io.github.bonigarcia.wdm.WebDriverManager bad class file

when I run the below simple @Test selenium code with WebDriver Manager setup, I am facing the following error "java: cannot access io.github.bonigarcia.wdm.WebDriverManager bad class file class file has wrong version 55.0, should be 52.0 Code…
0
votes
1 answer

Can't connect with existing Chrome Session in Selenium Java

Please note that I have tried all the explanations available (mostly) and still not working. The command I'm using to launch the browser session is as follows: chrome --remote-debugging-port=9222 --user-data-dir="D:\SQA\Browser_data\ChromeData" And…
0
votes
2 answers

Can run my tests in recapitated mode but not in headless

I can run any of my tests in Chrome recapitated (headfull) mode but when I try to run them in headless mode, I get the following error. [main] INFO io.github.bonigarcia.wdm.WebDriverManager - Using chromedriver 114.0.5735.90 (resolved driver for…
0
votes
1 answer

Not created chromdriver session unknown error: DevToolsActivePort file doesn't exist

Google Chrome v.110.0.5481.178 Selenide 6.12.0 webdrivermanager 5.3.2 Window 10 Java 19.2 When execute WebDriverManager.chromedriver().setup(); Selenide.open("https://www.google.com"); I see this Starting ChromeDriver 110.0.5481.77…
0
votes
1 answer

Running Selenium-java automation within gitpod.io

New to SO & test automation & selenium. I got introduced to gitpod while attempting https://www.lambdatest.com/certifications/. I'm stuck trying to run the below simple code snippet in side Gitpod. package project.maven.selenium; import…
0
votes
1 answer

org.openqa.selenium.SessionNotCreatedException: Could not start a new session using Maven and Java17

I am facing the error: org.openqa.selenium.SessionNotCreatedException: Could not start a new session Full error stacktrace: [main] INFO io.github.bonigarcia.wdm.WebDriverManager - Exporting webdriver.chrome.driver as…
0
votes
1 answer

Getting expection on line "WebDriverManager.chromedriver().setup();

I am facing the below issue java.lang.NoSuchMethodError: 'java.lang.String org.apache.commons.io.IOUtils.toString(java.io.InputStream, java.nio.charset.Charset)' on line "WebDriverManager.chromedriver().setup(); I am using the latest…
0
votes
0 answers

Selenium Maven build error - Java class. loader constraint violation - webdrivermanager

I am using Selenium Junit framework. Maven build was working fine, suddenly its failing due to below error. I am using latest version of WebDriverManager. Tried with older versions of webdrivermanager, still same error. Maven command: mvn clean test…