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
0 answers

"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…
0
votes
0 answers

Getting the error "MismatchedInputException" while starting chrome in docker

I'm trying to use Bonigarcia WebDriverManager to start a chrome browser in a docker container but keep getting this error Caused by: java.lang.RuntimeException: com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot construct instance…
RANKTW
  • 1
  • 1
0
votes
0 answers

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 dependency-
0
votes
1 answer

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);                          driverFile = new…
0
votes
3 answers

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. Unfortunately I'm also not able to init the driver with…
0
votes
1 answer

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 system (Windows 10 OS), everything runs perfectly…
0
votes
1 answer

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, I simply can set a ChromeOption and it…
0
votes
1 answer

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 version 5.1.0 of webdrivermanager. I get the…
Curb
  • 11
  • 2
0
votes
1 answer

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 the chrome.exe located at C:\Program…
0
votes
2 answers

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 of the Driver in the first place. It is possible…
0
votes
1 answer

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 - but it's not specific to native or java…
0
votes
2 answers

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.WebDriverManager - Reading…
Alex Bi
  • 3
  • 1
0
votes
1 answer

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 would look like…
0
votes
1 answer

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 download folder: Have WebDriverManager Download to…
0
votes
1 answer

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 = WebDriverManager.chromedriver() …
Jörg Rech
  • 1,339
  • 2
  • 13
  • 25