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
10
votes
5 answers

How to set Chrome Options when using WebDriverManager?

I'm using Web driver manager to setup chrome driver. When setting up the driver I want to add some chrome options? How can I do it when using web driver manager? I checked the WebDriverManager API but couldn't find any clue..
5
votes
2 answers

Does Chromedriver 79.0.3945.88. exist?

I'm running my Selenium CI tests on a remote Jenkins Linux machine. I'm also using WebDriverManager to manage the Chromedriver. The remote Chrome version is 79.0.3945.88. This is something I don't have permission to change. When Chrome version got…
5
votes
1 answer

CreatePlatformSocket() failed: Address family not supported by protocol and cannot find chrome binary using WebDriverManager in AWS Lambda

I don't know what I'm doing wrong but for some reason it cannot find the chrome binary despite me using WebDriverManager. I put the logs below for reference but it supposedly cannot find the binary (or it cannot download the binary?) I found similar…
5
votes
4 answers

Exception when running ChromeDriver with WebDriverManager in maven project

I am getting an exception when trying to open the ChromeDriver using WebDriverManager in a Maven project. The framework I am planning is tended to pull the ChromeDriver from WebDriverManager after adding the dependency in the pom.xml and is intended…
4
votes
6 answers

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.selenium.chrome.ChromeDriver; import…
4
votes
4 answers

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.lang.NoClassDefFoundError:…
2
votes
0 answers

.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: WebDriverManager wdm =…
2
votes
0 answers

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.config.WebDriverManagerException: There was an…
Uterator
  • 21
  • 2
2
votes
1 answer

Missing artifact io.github.bonigarcia:webdrivermanager

I have created one maven project and added webdrivermager from bonigarcia in the pom.xml. It is giving me the error missing artifact io.github.bonigarcia:webdrivermanager. I tried cleaning the .m2 folder and then downloading all the dependencies…
Jagruuti
  • 104
  • 2
  • 14
2
votes
3 answers

java.lang.NullPointerException in ExpectedConditions using Selenium through WebDriverManager

Following line gives error: wait.until(ExpectedConditions.visibilityOfElementLocated(By.xpath("//input[@id='username']"))); Code is as below: WebDriverManager.chromedriver().setup(); ChromeOptions options = new…
2
votes
0 answers

session not created: This version of ChromeDriver only supports Chrome version 76

receiving the following error session not created: This version of ChromeDriver only supports Chrome version 76 Using latest webdrivermanager version 3.6.2 Seems like it is not finding the latest version of chrome on my machine Version 75.0.3770.142…
Penny
  • 21
  • 1
2
votes
1 answer

Unable to install chromedriver on docker machine using Webdrivermanager

I am using webdrivermanager plugin by Boni Garcia for driver installation. When I use it for execution on my local and everything working fine but I face issues when I try to do the same via Jenkins. Details below:
vsingh
  • 125
  • 1
  • 2
  • 16
2
votes
1 answer

Using webdrivermanager.properties file with Artifactory

Thank you for the ongoing development/refinement of this project. It is very useful and full-featured ;) I have been using to run the test locally and it works very well -- as I am trying to move things toward to a pure CI setup; furthermore,…
2
votes
1 answer

Webdrivermanager forceCache is trying to connect to URL

For my Selenium/Cucumber/Maven project I downloaded the latest version of the Chrome and IE driver via Webdrivermanager on an virtual machine with an internet connection. After this I used the same project (using the same Maven local repo folder) on…
Geoffrey
  • 23
  • 5
2
votes
1 answer

Is webdrivermanager supporting RemoteWebDriver (Selenium Grid)?

I've updated the dependency for the WebDrivermanager in my pom.xml file. while running the code in my local like below it seems working fine. driver = new ChromeDriver(capability); but when I tried to run the code Remotely with RemoteWebDriver, it…
1
2 3
9 10