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

Tests slow because High cpu using Headless chrome with version 87

When I run tests without using headless chrome, the tests take on average 40-50 seconds. When I run the tests using headless chrome it takes a lot longer (190 seconds on average). I'm using chromedrivermanager which runs on 87.0.4280.20. The browser…
1
vote
0 answers

Invalid session id when running parallel tests using chromedrivermanager

When running tests in parallel sometimes I get this message: org.openqa.selenium.NoSuchSessionException: invalid session id I'm using WebDriverManager: private WebDriver driver; static { WebDriverManager.chromedriver().setup(); } public…
Roy
  • 123
  • 2
  • 9
1
vote
0 answers

Unable to run headless chrome using dockerfile for (cucumber , java , maven project)

I am trying to create a dockerfile and image for CI/CD. My Project stack is : Maven, Cucumber BDD, java , junit, using bonigarcia's webdrivermanager dependency in pom. We were able to run "hello world" print statement using dockerfile (mentioned…
1
vote
0 answers

WebDriverManagerException when using WebDriverManager for selenium

I am using WebDriverManager api to initiate browser. I am using the following code to connect to chrome browser. WebDriverManager.chromedriver().setup() Exception is: io.github.bonigarcia.wdm.config.WebDriverManagerException:…
tulasi ram
  • 11
  • 2
1
vote
2 answers

io.github.bonigarcia.wdm.WebDriverManagerException: java.nio.file.AccessDeniedException

I have the following error when start tests on remote VM via Jenkins, however tests work without any issues on my local machine. io.github.bonigarcia.wdm.WebDriverManagerException: java.nio.file.AccessDeniedException:…
1
vote
1 answer

Chrome browser is not getting the URL after launching the browser. I used all latest version for (browser, Selenium, Driver manager, ChromeDriver)

Tried initialization chrome browser using webdrivermanager using below code WebDriverManager.chromedriver().proxy(proxyName).setup(); driver = new ChromeDriver(); driver.get(prop.getProperty("url")); Tried initialization chrome browser using chrome…
1
vote
0 answers

Cannot find Microsoft Edge binary

Try to start a selenium test with the edge driver and get an exception Everything is working fine with firefox and chrome, but I couldn't manage it to start edge (Version 77.0.223.0 (Official build) dev (64-bit)). This is my test class class…
1
vote
1 answer

Linux IntelliJ Chrome WebDriverManager "chrome (or any other browser) failed to start"

I have a problem with WebDriverManager. If I specify path to the downloaded chromedriver I get this link org.openqa.selenium.WebDriverException: unknown error: Chrome failed to start: exited abnormally (unknown error: DevToolsActivePort file…
1
vote
2 answers

How to load a specific firefox profile using Selenium webdrivermanager?

I'm trying to use webdrivermanager library to load firefox driver in my selenium tests. I'm unable to load a specific firefox profile using this library. Here is what i'm trying to do: FirefoxDriverManager.getInstance().setup() // To instantiate the…
1
vote
1 answer

WebDriver Manager java.lang.NoSuchMethodError

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 occurs: java.lang.NoSuchMethodError:…
user7075583
1
vote
1 answer

How to ensure webdrivermanager driver downloads always work?

When running code: PhantomJsDriverManager.getInstance().forceCache().setup(); Or: PhantomJsDriverManager.getInstance().setup(); I get a certificate exception when the driver is being downloaded: java.lang.RuntimeException:…
Escay
  • 294
  • 1
  • 10
1
vote
1 answer

Send driver path to selenium node using another library

I use -D java parameters to specify the path to executable driver when register a new node in selenium grid: java -Dwebdriver.chrome.driver="../driver/chromedriver.exe" -jar selenium-server-standalone-3.3.1.jar -role node -hub…
0
votes
0 answers

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 ChromeDriver only supports Chrome version…
0
votes
0 answers

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 and just used driver = new ChromeDriver(); it…
0
votes
1 answer

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://chromedriver.storage.googleapis.com/LATEST_RELEASE_116
1 2
3
9 10