Questions tagged [webdriver-manager]

Webdriver-manager is a binary manager for end-to-end testing for both web and mobile. Webdriver-manager is a tool used for downloading and starting the selenium standalone server in Protractor end-to-end tests.

Webdriver-manager is a binary manager for end-to-end testing for both web and mobile used in tests.

Resources

240 questions
1
vote
0 answers

Download a specific webdriver version using Webdriver-manager

I using webdriver-manager 3.8.4 Compatible with Selenium 4.5 the goal is : 1.set the directory where we want to download and save the webdriver 2.Specify the version of webdriver Download a specific webdriver version using Webdriver-manager: the…
1
vote
1 answer

How to check a webdriver is in line with browser version in Selenium

Before I run my TestNG suite I would like to check that Chrome and Edge webdriver are up to date and stop the TestNG suite if the browser can't be lauched. My code so far is, EdgeDriver driver2 = new EdgeDriver(); …
Ian Thompson
  • 187
  • 1
  • 11
1
vote
1 answer

WebDriverException: Message: Service /root/.wdm/drivers/chromedriver/linux64/104.0.5112/chromedriver unexpectedly exited error using WebDriverManager

I was trying some scraping using selenium, but when I try to run this code I got this error: The version I am currently working on. Python -- 3.7.13 Selenium -- 4.4.3 webdrivermanager -- 0.10.0 from webdriver_manager.chrome import…
1
vote
1 answer

Defaulting to user installation because normal site-packages is not writeable Requirement already satisfied error installing Webdriver Manager Python

I'm attempting to import WebDriverManager for Chrome, but this is what I get $ pip install webdriver-manager Defaulting to user installation because normal site-packages is not writeable Requirement…
1
vote
1 answer

WebdriverManager throws java.lang.ClassNotFoundException: io.netty.handler.codec.compression.Brotli in Selenium 4.0

When chrome driver initialised, with selenium 4.0 and webdriver manager maven dependency 4.2.0 It throws java.lang.ClassNotFoundException: io.netty.handler.codec.compression.Brotli Causing org.openqa.selenium.SessionNotCreatedException: Could not…
Sameera De Silva
  • 1,722
  • 1
  • 22
  • 41
1
vote
1 answer

Unable to cast object of type 'OpenQA.Selenium.Chrome.ChromeDriver' to type 'OpenQA.Selenium.Remote.RemoteWebDriver'

I am trying to use WebDriverManager Package for .Net for automatically managing the chromedriver.exe version while executing a test case. But when ever I try to type cast ChromeDriver object to RemoteDriverObject it is showing me below error. Unable…
1
vote
1 answer

SessionNotCreatedException: Message: Expected browser binary location, but unable to find binary in default location error with Selenium and Firefox

I don't know why but yeasterday and the day before it worked but today no. I changed nothing and the PATH is always at the same place. from selenium import webdriver from selenium.webdriver.firefox.service import Service from…
1
vote
1 answer

Hide the WebDriverManager logs with GeckoDriver and Mozilla

This is not a big probleme i am not stuck. Do you know if it was possible to hide this message: ====== WebDriver manager ====== Current firefox version is 91.8 Get LATEST geckodriver version for 91.8 firefox Driver…
1
vote
1 answer

WebDriverException (Status code 127) when running Selenium + webdriver_manager on gitlab-CI machine (linux)

I'm running a simple CI pipeline on GitLab for a Selenium script headlessly + using webdriver_manager to handle chrome driver binary. This part is passed: Get LATEST chromedriver version for None google-chrome There is no [linux64] chromedriver for…
1
vote
1 answer

webdriver-manager not using proxy in order to update

I'm developing a bot and using webdriver-manager (https://github.com/SergeyPirogov/webdriver_manager) with the purpose to update the chromedriver file. The following error raise after the use of the install() method. The following is the code to…
Ossevaolep
  • 23
  • 4
1
vote
1 answer

How to silence selenium/chromedriver logs

I am using selenium 4 with webdriver manager, running tests headless on chrome. I want to silence logs. I looked through similiar questions and I managed to silence few logs by adding code below, but I still receive a few, which is annoying when…
1
vote
1 answer

Selenium Integration Test: How to access service classes?

I'm currently trying to implement a Test where I create a User and then checking the Database if the new User is there. For that, I want to access my service class, but for some Reason the Service is always Null. I tried using Autowired, but that…
1
vote
2 answers

Selenium4+Junit5 : Infinite browsers are launching while running scripts in Parallel with Selenium 4

I have well configure and designed framework using webdrivermanager = '5.0.3'( Selenium 3.141.5,) + Junit 5 + junit-platform.properties file to run the test scripts in parallel, which running seamlessly without any issues. I am able to run scripts…
sam
  • 289
  • 7
  • 19
1
vote
2 answers

Selenium and ChromeDriverManager doesn't downloads the latest version of ChromeDriver

I have an error: Error: Type: Message: session not created: This version of ChromeDriver only supports Chrome version 96 Current browser version is 98.0.4758.82 with binary path…
1
vote
1 answer

Selenium problem with the webdriver version installed through webdriver-manager while getting started

I'm struggling with Selenium because the official Getting Started code in the Driver Management Software section returns me an error: OFFICIAL CODE # Use Webdriver Manager for Python: https://github.com/SergeyPirogov/webdriver_manager # Import…