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

Parameter 'directory' is not a directory: /home/sbx_user1051/.m2/repository/webdriver

While using WebDriverManager in AWS Lambda (Java) to have chrome driver, getting the exception java.lang.IllegalArgumentException: Parameter 'directory' is not a directory: /home/sbx_user1051/.m2/repository/webdriver I have tried setting the target…
0
votes
1 answer

How to ensure cli arguments work with Web Driver Manager on Windows?

I'm using selenium with the chromedriver (gotten via webdrivermanager in maven), the cli arguments I pass via ChromeOptions aren't applied when on windows. However on MacOS it works fine, and on linux it partly works (as in it loads, but some debugs…
0
votes
1 answer

WebDriveManager jar is not recognizable in Maven project

Configured needed dependency from here in pom.xml: https://github.com/bonigarcia/webdrivermanager But still having an error when declaring WebDriverManager.
0
votes
2 answers

PhantomJS driver is not getting invoked while using WebDriverManager for my java code

I have been using WebDriverManager to manage drivers for my class file which in turn is used extended to other class files for testing using Selenium. I am using maven to do the builds, below is the content of my pom.xml file :
Swastik
  • 1
  • 1
0
votes
2 answers

Selenium commands not working in Chrome web driver (working with firefox)

I'm writing integration/e2e tests and for some reason any selenium driver commands don't see to be working with chromedriver, but they are working flawlessly with firefox driver and the firefox headless driver. Commands tried: moveByOffset, and…
0
votes
1 answer

Unable to use git personal access token for webdrivermanger?

Unable to use git personal access token to avoid 403 errors for geckodriver using webdrivermanger in jenkins!! I can see token is never used state in git settings. -Dwdm.gitHubTokenName=githubusername -Dwdm.gitHubTokenSecret=token Much…
Ranjith's
  • 4,508
  • 5
  • 24
  • 40
0
votes
1 answer

WebDrivermanager is not opening the browser

I am not able to open both IE and Chrome browsers using WebDriverManager dependency when i run as Maven test. I see that no error is thrown in console and test execution is inprogress even after several minutes. I have a println statement before the…
0
votes
2 answers

Getting error when trying to run a test with TestNG and WebDriverManager

I'm getting this error when trying to execute a test using TestNG and WebDriverManager. The dependency I'm using is the one mentioned in https://github.com/bonigarcia/webdrivermanager-examples for Maven, and the version of TestNG is 6.14.3. My code…
Jorge
  • 182
  • 1
  • 4
  • 12
0
votes
1 answer

Not downloading 64Bit version of IE Driver using WebDriverManager

64bit version of IE Driver is not downloading using WebDriverManager. As per description provided at https://github.com/bonigarcia/webdrivermanager, it states By default, WebDriverManager would try to use the proper binary for the platform…
0
votes
1 answer

How to suppress webdriver-manager logs

I am using webdrivermanager to manage the drivers in my project but on updating to the latest version 2.2.1 my project is flooded with webdrivermanger logs, the logs are causing hassle while searching for my own stuff in the logs. How can I…
0
votes
0 answers

Getting java.lang.IllegalStateException when using Webdrivermanager

When i am using below code i am getting error : "java.lang.IllegalStateException: The path to the driver executable must be set by the webdriver.chrome.driver system property;" import io.github.bonigarcia.wdm.ChromeDriverManager; import…
0
votes
1 answer

Not download/init browser driver when used webdrivermanager-x.x.x.jar (without Maven)

For my Selenium/Java project [without Maven], using webdrivermanager-1.7.2.jar in to automate binary downloads for chromedriver but I'm getting "java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory" message. My code: package…
0
votes
1 answer

Use WebDriverManager with jasmine-maven-plugin to use Chrome Headless

I have a Maven project configured with jasmine-maven-plugin to run javascript tests. I'd like to switch from Phantomjs to Chrome headless without downloading and setting the driver's path executable. I've found WebDriverManager could help, but it…
0
votes
2 answers

Getting driver is not executable when using web driver manager?

Using webdrivermanager 1.7.1 to automate binary downloads for chromedriver but I'm getting "The driver is not executable" message. I know the solution chmod +x ../chromedriver but required an automated process for that!! Any help much…
Ranjith's
  • 4,508
  • 5
  • 24
  • 40
0
votes
1 answer

Capabilities error after using selenium grid and Webdriver manager

I have been using [webdriver manager][1] for local executions, it has been outstanding, however right now I'm trying to use a selenium grid and I would like to use the same approach but I'm getting some errors related to capabilities. The hub and…