Questions tagged [webdrivermanager-java]

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

Filter by
Sorted by
Tagged with
0 votes
1 answer
268 views

NoSuchMethodError: 'java.io.OutputStream org.openqa.selenium.chrome.ChromeDriverService$Builder.getLogOutput(java.lang.String)'

java.lang.NoSuchMethodError: 'java.io.OutputStream org.openqa.selenium.chrome.ChromeDriverService$Builder.getLogOutput(java.lang.String)' at org.openqa.selenium.chrome.ChromeDriverService$Builder....
NP06's user avatar
  • 1
1 vote
1 answer
32 views

WebDriverManager - Problem with inDocker function

I am using WebDriverManager for over an year, but currently we moved our CI/CD to different tool. There is additional firewall that cut of external libraries. I tried WebDriverManager.firefoxdriver()....
Sabina Firek's user avatar
0 votes
0 answers
41 views

org.openqa.selenium.SessionNotCreatedException Response code 500. Message: session not created:

I am getting the below error in my Java selenium project org.openqa.selenium.SessionNotCreatedException: Could not start a new session. Response code 500. Message: session not created: This version of ...
Sakthi Swarubini's user avatar
0 votes
0 answers
80 views

Selenium Manager Vs WebDriverMAnager - From selenium 4.6 do we really need WebDriverManager

I am using WebDriverManager - for Chrome driver - recently after chrome update to 116 was facing issues with WebdriverManager - not able to get ChromeDriver session - Removed WebdriverManager from POM ...
AlokB's user avatar
  • 1
8 votes
8 answers
20k views

WebDriverManager setup failing to download chromedriver 116

Here is the code to replicate the issue. This was working fine till chromedriver 114 but it broke as soon as chrome browser got upgraded to 116. import org.openqa.selenium.WebDriver; import org.openqa....
Amit's user avatar
  • 222
1 vote
1 answer
1k views

ERROR io.github.bonigarcia.wdm.online.HttpClient - Error HTTP 404 executing https://chromedriver.storage.googleapis.com/LATEST_RELEASE_116

I am getting the bellow error when trying to run automation tests, after Chrome was updated from v114 to v116 ERROR io.github.bonigarcia.wdm.online.HttpClient - Error HTTP 404 executing https://...
Tanata05's user avatar
0 votes
1 answer
30 views

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/...
Jamuna Velusamy's user avatar
0 votes
0 answers
41 views

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. <dependency> <...
Sri's user avatar
  • 7
0 votes
0 answers
111 views

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,...
Sasha Kolsky's user avatar
0 votes
0 answers
45 views

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....
Simonas Petkevičius's user avatar
0 votes
0 answers
108 views

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://...
Sanat's user avatar
  • 267
0 votes
1 answer
68 views

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....
ValiTu's user avatar
  • 1
0 votes
0 answers
26 views

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 ...
Giri B's user avatar
  • 9
0 votes
2 answers
1k views

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 ...
Jack Vicky's user avatar
0 votes
1 answer
61 views

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 --...
Aliul Islam Abir's user avatar
0 votes
2 answers
79 views

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 ...
Aydin Apaydin's user avatar
1 vote
1 answer
96 views

Managing different versions of Browser (Chrome for example) while using Selenium 4.9.1 in C#

We are using Selenium with C# for our GUI Tests. Currently we are using WebdriverManager to handle diffrerent versions of Chrome auotmatically. It works fine so far ! I recently tried to update ...
Ragini's user avatar
  • 1,509
1 vote
0 answers
235 views

Selenium Drivers unable to build in GitHub Actions

I am currently trying to get Selenium tests to be able to run using Gradle with GitHub actions. I am trying to run the job on a local server to get past two-factor auth. The tests are able to run ...
nsowers20's user avatar
0 votes
1 answer
225 views

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 ...
Svetlana's user avatar
0 votes
1 answer
135 views

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 ...
Dcode78's user avatar
0 votes
1 answer
362 views

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....
Mamatha D's user avatar
2 votes
0 answers
289 views

.dockerVolume() of WebdriverManager causes (Connection reset) error on Linux-VM

I run my tests in docker by using webdrivermanager. I need to upload some files into the running docker. So, I will be able to use those files in my tests. I used .dockerVolume() like: ...
Furkan's user avatar
  • 515
1 vote
1 answer
180 views

How to use .dockerVolumes of WebDriverManager?

I run my tests in docker by using webdrivermanager. I need to upload some files into the running docker. So, I will be able to use those files in my tests. I initalised my tests with the code block ...
Furkan's user avatar
  • 515
0 votes
1 answer
190 views

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....
Sai Krishna's user avatar
0 votes
0 answers
177 views

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,...
rajesh k's user avatar
1 vote
1 answer
1k views

How does Serenity choose what Chromedriver to use?

I recently cloned the latest version of serenity-cucumber-starter from https://github.com/serenity-bdd/serenity-cucumber-starter. I took the action-classes branch (as I want to use that as a starting ...
amadain's user avatar
  • 2,714
2 votes
0 answers
431 views

Can't run tests with WebDriverManager from a container. Connection refused

We are trying to run tests using WebDriverManager from inside our container. The execution fails with the following There was an error creating WebDriver object for Firefox io.github.bonigarcia.wdm....
Uterator's user avatar
0 votes
0 answers
1k views

"WebDriverManagerException: There was an error creating WebDriver object for Firefox" Selenium 4.0 + WebdriverManager 5.3.0

Trying to run some tests on a Maven based project with Cucumber, Selenium and Java 8. Launching o chrome works fine, but not in Firefox. Throwing the following error when executing mvn clean install ...
krone's user avatar
  • 1
0 votes
0 answers
1k views

io.github.bonigarcia.wdm.online.httpclient- Error HTTP 403 executing

While I am replacing traditional way to initiate browser instance with WebDriverManager library, getting this error- io.github.bonigarcia.wdm.online.httpclient- Error HTTP 403 executing imported ...
Manmohan Singh's user avatar
1 vote
1 answer
531 views

Why does browser closes automatically when latest version of WebDriverManager (5 onward) is used, is its new feature?

I recently created a new Selenium Maven project using the latest version(5.2.1) of WebDriverManager but I found that without using driver.quit() or driver.close() method, the browser closed ...
user2044296's user avatar
0 votes
1 answer
2k views

Latest webdriver manager not working with current framework code

Hello I have upgraded Webdriver manager from 4.3.1 to 5.2.1 and then my code isn’t working. This is the code : WebDriverManager.chromedriver().config().setChromeDriverVersion(driverVersion);           ...
ashok varma's user avatar
0 votes
3 answers
2k views

Cannot invoke "org.openqa.selenium.WebDriver.get(String)" because "driver" is null

I'm having a few troubles working with Selenium and the WebDriverManager. So the WebDriverManager documentations says that you're able to create a WebDriver with their API as descirbed here. ...
jxmhsrgg's user avatar
0 votes
1 answer
1k views

Selenium WebDriverManager - Exception when running on Linux Server

I am new to Selenium and having some issues. I am using the WebDriverManager in connection with Selenium. This is my code: WebDriverManager.chromedriver().setup(); When I run the code on my local ...
Felix H's user avatar
  • 155
0 votes
1 answer
371 views

How to use chrome profile when using browserInDocker with WebDriverManager?

I'm using webdrivermanager with browserInDocker() for my test automation framework. So far it works great. But now I have trouble trying to use a chrome profile. Usually, when I use selenium webdriver,...
xMH85x's user avatar
  • 1
1 vote
1 answer
451 views

How Can I set chrome browser to automatically download a pdf using QAF and WebDriverManager

Using a datasheet, I usually pass a browser name into a class I created to select which browser I want to run my tests from. Recently, I've been working on an app in which I need to download a PDF and ...
Aztg's user avatar
  • 33
0 votes
1 answer
856 views

HTTP request to HTTPS server exception webdrivermanager-java docker Jenkins

I'm trying to setup Bonigarcia webdrivermanager java with a chrome browser in a docker container on a jenkins CI server. Webdrivermanager is unable to pull the docker image from Docker Hub. I have ...
Curb's user avatar
  • 11
1 vote
2 answers
664 views

webdrivermanager java browser in docker wsl2 how to configure

I'm trying to setup webdrivermanager java with a chrome browser in a docker container. I have a docker daemon running on my local Windows 10 machine on WSL2. The docker daemon url should be tcp://127....
Curb's user avatar
  • 11
0 votes
1 answer
2k views

WebDriverManager is pulling chrome browser version from a default path regardless of settings

I've tried everything I can think of to get WebDriverManager to detect the correct version of the chrome browser that I can think of, nothing works. I want to detect the browser driver version from ...
GregMa's user avatar
  • 740
1 vote
1 answer
270 views

WbDriverManager getDownloadedDriverVersion() returns null for firefox in Jenkins only

private static WebDriverManager webDriverManager; webDriverManager = WebDriverManager.firefoxdriver(); webDriverManager.setup(); System.out.println("Printing downloadedDriverVersion: "+ ...
Ankita Bhattacharjee's user avatar
0 votes
2 answers
2k views

How to find the web browser version without setup() method using WebDriverManager

I am interested in getting the browser Version I've two questions- Question 1:- is there is a way to find out the browser version without setting up the browser? or can we force stop the downloading ...
Sadanand Kolhe's user avatar
0 votes
1 answer
49 views

webdrivermanager-java brotli CVE?

Looking to use webdrivermanager-java version 5.1.0 It has a dependency on org.brotli:dec 0.1.2 (dec-0.1.2.jar), which was released in 2017. NVD reports CVS-2020-8927 about brotli versions before 1.0.8 ...
Bob Bogardus's user avatar
0 votes
2 answers
467 views

WebDriverManager throwing TypeNotPresentException

I am trying to replace my local geckodriver.exe with WebDriverManager, but when i invoke WebDriverManager.firefoxdriver().setup(); i get the following error 4391 [main] INFO io.github.bonigarcia.wdm....
Alex Bi's user avatar
-1 votes
1 answer
438 views

WebDriverManager: Impossible to pull image selenoid/vnc from inside docker

I have a Geb and Spock Maven project using WebDriverManager (using version 5.0.4-SNAPSHOT and selenium 3.141.159). I was successfully able to run tests using browser in docker option from my local ...
Simon Cierniak's user avatar
0 votes
1 answer
3k views

How can I initialize Chrome Remote web driver using WebDriverManager while passing ChromeOptions and a Selenium Grid standalone server url?

Trying to initialize a Chrome Remote web driver using WebDriverManager, while passing ChromeOptions and a Selenium Grid standalone server URL using Java. From online examples; Passing Chrome options ...
zivGadri's user avatar
0 votes
1 answer
620 views

Java Webdrivermanager change properties folder

I use Webdrivermanager to update to the latest Webdriver version. In Python I was able to modify the module myself. But I have not that much experience in Java yet. I use this to change the Driver ...
Muddyblack k's user avatar
0 votes
1 answer
776 views

How to set options when using browserInDocker() with WebDriverManager?

How can I set ChromeOptions on the driver when using .browserInDocker()? I want to set the option "--disable-dev-shm-usage" and using Docker the recommended call is: WebDriver driver = ...
Jörg Rech's user avatar
  • 1,349
0 votes
3 answers
2k views

java.lang.NoClassDefFoundError Error while using WebDriverManager in Java project

I have created a plain Java Project and added all selenium 4.0.1/testng 7 and WebDriverManager 5.0.3 jars and set up classpath. My Code here is WebDriverManager.chromedriver().setup(); WebDriver ...
Veena_Devi's user avatar
0 votes
1 answer
631 views

WebDriverManager: Can not get Resolution cache to work with CLI

I am using WebDriverManager fat jar ver 5.0.3. I want to achieve following with CLI Drivers are downloaded in a specified folder Using Resolution Cache only download drivers if browser version ...
H.D.'s user avatar
  • 455
4 votes
4 answers
16k views

What causes java.lang.NoClassDefFoundError: org/openqa/selenium/internal/Require when using WebDriverManager 5.0.3

I have a spring boot application, that I want to test with Selenium. I'm using WebDriverManager v5.0.3 When settin up the WebDriver WebDriverManager.chromedriver().setup(); I get an exception: java....
Chris's user avatar
  • 834
1 vote
2 answers
1k views

Specify download location in webdrivermanager java

How can i specify the download location of the chromedriver in webdrivermanager? Im using Java. At the moment its downloading to ~\cache\selenium\chromedriver\ im using webdrivermanger version 5.0.3
Zordanian's user avatar