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

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 driver= new ChromeDriver(); There is no compilation…
0
votes
1 answer

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 changes, otherwise skip download I am using following…
0
votes
1 answer

Webdrivermanager is unable to download driver due proxy not apply when working on company vpn

I am using latest version bonigarcia/webdrivermanager. In my company they are not allowing to access the driver api website for downloading driver exe or api while using company VPN, even proxy does not work. How I can resolve this issue? What…
Shrirang
  • 1
  • 1
0
votes
1 answer

WebDriverMananager in Selenium

I am trying to figure out how to do cross browser using WebDriverManager in my test base? I know how to do one browser at a time: WebDriverManager.chromdriver().setup(); driver = new ChromeDriver(); So do I use if and else statements or? Thanks for…
0
votes
1 answer

WebDriverManager using non-default browsers

Sometimes we test different versions of the same browser on the same local machine and we used WebDriverManager#browserPath method to setup non-default browsers Like this: private void applySettings() { if…
0
votes
1 answer

Webdrivermanager does not recognize the newest geckodriver and downloads older one

I use webdrivermanager io.github.bonigarcia webdrivermanager 4.4.3 and FF 78.12.0esr (64-bit) with selenium server 3.14 in Java. There are various…
0
votes
1 answer

Not able to perform token/secret pair authentication. It has been deprecated by git

Not able to perform token/secret pair authentication any more since git have deprecated the same. PFB for reference, https://docs.github.com/en/rest/overview/resources-in-the-rest-api#oauth2-keysecret plz let me know the workaround for the…
0
votes
0 answers

Downgrade chromedriver version during runtime using webdrivermanager

Problem: Facing an issue to downgrade chrome driver version during runtime. Background: Using chrome + Docan(needs chrome driver with v2.33) to do automation test of an application. First, start chrome with driver version: 91.0.4472.124. Then,…
WendyZ
  • 1
  • 1
0
votes
1 answer

webdrivermanager - turn off or reconfigure console logging

I am trying to change the console output produced by webdrivermanager-java from https://github.com/bonigarcia/webdrivermanager I have found several tutorials on how to do that but none of them works for me (or I am missing something). Here is the…
psova
  • 192
  • 2
  • 11
0
votes
1 answer

Info: Set download file directory path

What is the right way to set the download directory path using webdrivermanager? ref: chromePrefs.put("download.default_directory", downloadFilepath); Thanks.
0
votes
1 answer

how to prevent chromedriver upgrade

Using webdrivermanager 4.0.0, this is production and chrome stays at 76 and we don't want the chrome driver upgraded because it's incompatible. I have looked at avoidReadReleaseRepository and resolution.properties. The properties date was changed to…
dhenry
  • 13
  • 2
0
votes
0 answers

Ubuntu, Selenium, WebDriverManager, Chrome flash open for a second and then it closes

I am on Ubuntu. Chrome seems to open for a second and then crashes. So, I basically see a flash of chrome and then I get this message in the console: "org.openqa.selenium.WebDriverException: unknown error: Chrome failed to start: crashed. (chrome…
0
votes
1 answer

io.github.bonigarcia.wdm.WebDriverManagerException: chromedriver 88.0.4324.150 for WIN64 not found in https://chromedriver.storage.googleapis.com/

It seems like my chromedriver is not updated by the below code: import io.github.bonigarcia.wdm.WebDriverManager; import org.junit.Test; import org.openqa.selenium.WebDriver; import org.openqa.selenium.chrome.ChromeDriver; import…
0
votes
1 answer

WebDriverManager Throwing an exception

I am new to the JAVA + Selenium. I am using JAVa version 14x and selenium 3.141.x. I came across WebDriverManager dependency which eliminates tedious task of maintaining browserDriver when our browsers' versions are upgraded. I a small selenium…
Pradeep
  • 11
  • 2
0
votes
1 answer

Errors when running selenium tests on jenkins

I am using WebDriverManager (WebDriverManager.firefoxdriver().setup()) to manage the binary files in my selenium tests. Locally I can run my tests but on jenkins I get errors. Is it possible to use WebDriverManager with jenkins? Do I need to…
kidulf
  • 419
  • 1
  • 6
  • 17