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
1 answer

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…
1
vote
1 answer

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 Selenium Webdriver version to latest (4.9.1). I am…
Ragini
  • 1,509
  • 7
  • 28
  • 42
1
vote
0 answers

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 locally and when running the tests not on our local…
1
vote
1 answer

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 below: WebDriverManager wdm =…
1
vote
1 answer

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 point rather than the screenplay (master) branch)…
amadain
  • 2,724
  • 4
  • 37
  • 58
1
vote
1 answer

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 automatically after test execution, is it a new feature of…
user2044296
  • 504
  • 1
  • 7
  • 18
1
vote
1 answer

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 then verify its contents. I have everything…
Aztg
  • 33
  • 4
1
vote
2 answers

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.0.0.1:2375. I have version 5.1.0 of…
Curb
  • 11
  • 2
1
vote
1 answer

WbDriverManager getDownloadedDriverVersion() returns null for firefox in Jenkins only

private static WebDriverManager webDriverManager; webDriverManager = WebDriverManager.firefoxdriver(); webDriverManager.setup(); System.out.println("Printing downloadedDriverVersion: "+ webDriverManager.getDownloadedDriverVersion()); Please find…
1
vote
2 answers

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
  • 43
  • 1
  • 8
1
vote
1 answer

How can selenium-jupiter be used with Karate to automatically use the WebDriver matching the currently installed Chrome/Firefox etc.?

Background Selenium-Jupiter is a JUnit 5 extension aimed to ease the use of Selenium WebDriver by downloading and caching the WebDriver binaries required for each test, depending on which locally installed web browser is to be used. It does this by…
1
vote
1 answer

Getting error -Failed to load class "org.slf4j.impl.StaticLoggerBinder" in Selenium Maven project

I am using below code with WebDriverManager- package MySelenium.mySelenium; import org.openqa.selenium.WebDriver; import org.openqa.selenium.chrome.ChromeDriver; import io.github.bonigarcia.wdm.WebDriverManager; public class TestSelenium { …
1
vote
1 answer

The method getBinaryPath() is undefined for the type WebDriverManager error shows in eclipse while i am trying to run appium automation project

I am trying to run a mini appium project, I have the emulator and an appium server running and here's my code, it says that .getBinaryPath() is undefined for type WebDriverManager "caps.setCapability("chromedriverExecutable",…
Haidy Nagy
  • 35
  • 3
1
vote
1 answer

WebDriverManager integration with jenkins

I am having issues in running WebDriverManager in Jenkins this is my code: WebDriverManager.firefoxdriver().setup(); FirefoxOptions firefoxOptions = (FirefoxOptions) options; return new…
kidulf
  • 419
  • 1
  • 6
  • 17
1
vote
0 answers

I get this error at mid of test case when I use WebdriverManager with selenium in parallel. 'disconnected: not connected to DevTools'

disconnected: not connected to DevTools (Session info: chrome=87.0.4280.88) Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03' System info: host: 'C02YM263JHD2', ip: 'fe80:0:0:0:14d0:b87a:ad38:1e24%en0', os.name:…
1
2
3
9 10