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

Firefox driver won't connect using Serenity

I'm trying to run a simple test with Firefox, using Serenity. This is my pom.xml:
0
votes
1 answer

Can not set EdgeDriver version using WebDriverManager

I have a trouble with running Selenium tests with Edge. Windows is going to update on version 4.15063. But currently this update is not automatic. But latest version for Edge already switched 4.15063. I am using WebDriverManager but without success…
0
votes
2 answers

How to get a chromeDriver object when using webdrivermanager on maven?

When i am using below code i am getting error on driver object creator. import org.openqa.selenium.WebDriver; import org.testng.annotations.Test; import io.github.bonigarcia.wdm.ChromeDriverManager; public class NewTest { private WebDriver…
0
votes
3 answers

Using Reflection When Casting With Abstract Type

I am all for someone recommending a better title for this particular question. I'm also more than open to working to simplify how I describe the problem. Context: I have an automation setup where I'm allowing the browser to be configured via a…
Jeff Nyman
  • 870
  • 2
  • 12
  • 31
0
votes
2 answers

Error registering drivers in multiple test threads using WebdriverManager

I use TestNG xml files to manage test queues and environment parameters. And would like to use WebdriverManager library to register drivers in the system. But whet the thread count more than 1, drivers are not registered properly. Please see…
0
votes
1 answer

What happens if you use .forceCache() if there's nothing cached yet?

As of version 1.6.0 the option of forcing the driver to refer to what is cached locally became an option. I was wondering what would happen if there's nothing cached yet? I'm asking because I have a project that relies on this which several people…
mmyers
  • 43
  • 1
  • 7
0
votes
1 answer

No configuration setting found for key 'wdm.geckoDriverVersion' - WebDriverManager

I'm using the webdrivermanager(Java) and I think is configured (pom.xml), because Chrome and IE are working. Only FireFox is showing this menssage "No configuration setting found for key 'wdm.geckoDriverVersion'" *The exemple works to. So, Boni or…
0
votes
2 answers

Error when I try to go on my localhost page with Firefox since I downgrade Selenium to 2.53.1

Hi I need a little help, I'm working with selenium 3.0.1. However, I need to change to 2.53.1 because Actions (moveto and doubleclick) are not implemented yet for Firefox. I was able to have the firefox webdriver for selenium 3.0.1. Since I…
Bob
  • 529
  • 1
  • 7
  • 28
0
votes
1 answer

Why getting an error when setting up PhantomJS driver?

I am trying to use Selenium and PhantomJS in a Maven & Java Project. Here are the dependencies I use in my pom.xml file: org.seleniumhq.selenium
0
votes
1 answer

deleteAllCookies or cleanCookie causes UnreachableBrowserException when using InternetExplorerDriver

I have set up a small test suite with geb, everything is working fine with chrome and firefox, but now i wanted to extend the browsers i execute the tests on with IE and the tests always fail because of remaining cookies from previous tests (I'm…
-1
votes
1 answer

WebDriverManager: Impossible to pull image selenoid/vnc from inside docker

I have a Geb and Spock Maven project using WebDriverManager (using version 5.0.4-SNAPSHOT and selenium 3.141.159). I was successfully able to run tests using browser in docker option from my local Maven but it failed when trying to run inside a…
-1
votes
1 answer

WebdDriverManager throwing NoSuchFileException for AWS EC2 Ubuntu

I am executing my Selenium tests on AWS EC2 Ubuntu instance from Windows OS using RemoteWebDriver. Below is the Selenium code: WebDriverManager.chromedriver().setup(); ChromeOptions co = new ChromeOptions(); WebDriver driver = new…
-1
votes
1 answer

Multiple instances of browser opening up when running test through webdriver manager

I am new to Selenium, so basically whenever I ran my test, it would open up the URL which I have mentioned in my test. In my same Test I have also mentioned to fill the username and Password. But somehow once the browser gets launched and redirect…
-1
votes
1 answer

How to fix java.net.UnknownHostException: npm.taobao.org when using Selenium through WebDriverManager

I am using Selenide version 5.3.1. I created just sample project to open browser using open("https://www.google.com") method by Selenide. This works fine and it automatically downloaded latest chrome driver binaries using webDriverManager. Now If…
Javed Ahmed
  • 223
  • 1
  • 3
  • 17
-1
votes
1 answer

WebDriverManager.chromedriver().useBetaVersions().version("73.0.3683.20").setup(); runs Chrome 72

In execution logs i see: "[main] DEBUG io.github.bonigarcia.wdm.WebDriverManager - Driver chromedriver 73.0.3683.20 found in cache" But when I open in Chrome: Help -> Google Chrome - informations I see that it's 72
1 2 3
9
10