Questions tagged [webdrivermanager-python]

WebDriverManager is a Python Module for facilitating download and deploy of WebDriver binaries.

WebDriverManager is a Python Module aimed to automate the Selenium Webdriver binaries management in runtime. The classes in this module can be used to automatically search for and download the latest version (or a specific version) of a WebDriver binary and then extract it and place it by copying or symlinking it to the location where Selenium or other tools should be able to find it then.

Installation

This module is available on the Python Package Index (PyPI) and can be installed as follows:

pip install webdrivermanager
43 questions
30
votes
14 answers

ModuleNotFoundError: No module named 'webdriver_manager' error even after installing webdrivermanager

I've installed webdrivermanager on my windows-10 system C:\Users\username>pip install webdrivermanager Requirement already satisfied: webdrivermanager in c:\python\lib\site-packages (0.8.0) Requirement already satisfied: lxml in…
10
votes
2 answers

RequestsDependencyWarning: urllib3 (1.26.11) or chardet (3.0.4) doesn't match a supported version error using Selenium and ChromeDriverManager

I have this script to acess my internet modem and reboot the device, but stop to work some weeks ago. Here my code: from selenium import webdriver from selenium.webdriver.chrome.options import Options from selenium.webdriver.chrome.service import…
5
votes
5 answers

Selenium ChromeDriverManager doesn't downloads the latest version of ChromeDriver

I have an error: E selenium.common.exceptions.SessionNotCreatedException: Message: session not created: This version of ChromeDriver only supports Chrome version 102 E Current browser version is 109.0.5414.120 with binary path C:\Program…
5
votes
4 answers

How to suppress logging in WebDriverMangager for Python?

There is a similar question here, but that is for Java. I wish to suppress the following: INFO:WDM:====== WebDriver manager ====== INFO:WDM:Current google-chrome version is 88.0.4324 INFO:WDM:Get LATEST driver version for 88.0.4324 INFO:WDM:Driver…
5
votes
1 answer

Error in opening chrome browser on unix using selenium webdriver_manager

from selenium import webdriver from webdriver_manager.chrome import ChromeDriverManager driver = webdriver.Chrome(ChromeDriverManager().install()) driver.get("http://www.python.org") driver.quit() Error Received : Traceback (most recent call…
4
votes
2 answers

Selenium WebDriver Firefox Error: API Rate limit exceeded. You have to add GH_TOKEN

Using the sample test code from SeleniumHQ github, I tried to run this code: def test_firefox_session(): service = FirefoxService(executable_path=GeckoDriverManager().install()) driver = webdriver.Firefox(service=service) driver.quit() The test…
3
votes
3 answers

selenium.common.exceptions.WebDriverException: Message: 'chromedriver' executable needs to be in PATH using ChromeDriverManager and Python

I tried to fix the above error by check Stackoverflow and other resources from the internet. But I am getting the error. I have installed the webdriver_manager also. But I could not able to run the code. I am using kubuntu, pycharm. Below is my…
3
votes
3 answers

SSL Certificate Verification Failed - When using WebDriverManager in Python Selenium framework

I am using Python Selenium framework. In here, to launch the chrome browser, instead of giving chrome binary (chrome.exe) path, I am trying to use WebdriverManager to get the latest version of Chrome driver (based on browser version). Below is the…
3
votes
4 answers

Could not get version for Chrome with this command: google-chrome --version || google-chrome-stable --version

Web scraping with selenium works fine on my mac local machine but when I push to live Ubuntu server, I get the following error Could not get version for Chrome with this command: google-chrome --version || google-chrome-stable --version when I try…
2
votes
1 answer

How to change path to webdriver_manager to custom path in the cloud function environment

I'm trying to create a headless web scraper on cloud function. I have used Selenium to automate the driver provided by the Webdriver manager. Can you please tell me how to change the wdm.cachePath according to virtual environment? Below is my code…
1
vote
1 answer

No such driver version 115.0.5790.110 for linux64 error using ChromeDriverManager

I have a python script where it autoinstalls chromedriver with ChromeDriverManager package. Today it gave me an error of: No such driver version 115.0.5790.110 for linux64 Line of code: driver =…
1
vote
0 answers

How do I configure webdrivermanger to selectively call Tor or Firefox on demand (Python)?

sorry if this is a dumb question, but I'm trying to figure out how to use Selenium to control Tor browser (which i understand is modified Firefox), but I can't find any instructions on how to do it on a system that also has regular Firefox and other…
Saqster
  • 119
  • 1
  • 1
  • 8
1
vote
1 answer

How to address certificate verify failed: unable to get local issuer certificate error using Selenium and ChromeDriverManager

Even with the ton of information about this, each solutions won't work for me, I'm trying to run a basic selenium script and I get this error. Is there any solutions for my case (note that i use 3.10 python and that I'm working on a corporate…
1
vote
1 answer

Driver path is None but file location can be found

I have a web scraper that uses Undetected Chromedriver & WebDriverManager to download & automate a Chromium webdriver. On Windows I initialize the Undetcted Chromedriver instance by passing the executable_path to the output of…
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
2 3