43 questions
0
votes
1
answer
1k
views
How to setup Webdriver manager to use chromedriver in a MacOS app compiled with PyInstaller?
In my python script I am currently using webdriver_manager (text) to install the chrome webdriver. This webdriver is used to create a Selenium driver to navigate websites and collect HTML data. This ...
0
votes
1
answer
128
views
Getting an error using selenium with python
When I use selenium in python to open a website in chrome it give me an Attribute Error
This is my code :
from selenium import webdriver
from webdriver_manager.chrome import ChromeDriverManager
...
1
vote
1
answer
686
views
Does the python library 'webdriver-manager' always install the latest chrome driver?
Even reading the github page, the role of this library is confusing.
always install the latest chrome drivers
checks the user's Chrome browser version and installs the appropriate Chrome driver.
...
1
vote
0
answers
405
views
Pytest-parallel lib. How to get worker id like in pytest-xdist?
Now when using pytest-parallel lib the worker_id could not be found by this plugin since (a guess) this is only xdist compatible fixture to get worker id.
`@pytest.fixture(scope='session')
def ...
1
vote
1
answer
4k
views
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 = ...
0
votes
1
answer
511
views
ValueError: There is no such driver by url https://chromedriver.storage.googleapis.com/LATEST_RELEASE_108.0.5359.71
I am working on a Python script that needs to run in Databricks using Selenium and the webdriver_manager package. The script runs once a week using an Airflow DAG. Recently, I started encountering ...
0
votes
3
answers
979
views
TypeError: get() missing 1 required positional argument: 'url'
Executing below code:
from selenium import webdriver
from webdriver_manager.chrome import ChromeDriverManager
browser = webdriver.Chrome
browser.get('https://soysocio.bocajuniors.com.ar/index.php')
...
1
vote
1
answer
163
views
i can't open any link from vs code by webdriver_manager.chrome module with ChromeDriverManager class
from selenium import webdriver
from webdriver_manager.chrome import ChromeDriverManager
# here my google chrome doesn't open the entered url from user
browser = webdriver.Chrome(ChromeDriverManager()....
1
vote
0
answers
60
views
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 ...
0
votes
1
answer
306
views
Fatal Python error: Cannot recover from stack overflow error using Selenium and ChromeDriverManager
My code worked fine until a few days ago. But now I'm facing an error as follows:
Fatal Python error: Cannot recover from stack overflow
with the minimal code:
Error:
What's the cause of the sudden ...
1
vote
1
answer
2k
views
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 ...
9
votes
6
answers
10k
views
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 ...
3
votes
1
answer
6k
views
Selenium 4 and webdriver manager for firefox fails to run in Ubuntu
Apologies I am quite new to all this so trying to figure out if I am doing the right thing. I am running Ubuntu 22.04 and Selenium 4.8
I installed latest Geckodriver from Mozilla GitHub, converted it ...
-2
votes
1
answer
187
views
Selenium google crashes when running tests
from selenium import webdriver
from selenium.webdriver import Keys
from selenium.webdriver.chrome.service import Service
from webdriver_manager.chrome import ChromeDriverManager
from selenium....
1
vote
1
answer
397
views
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 ...
0
votes
1
answer
118
views
Selenium just opens Chrome and stops the program using ChromeDriverManager
My problem is that I want to execute the whole code, but it just opens Chrome and stops the program. What could be the reason for this? I installed every package needed such as the chromedriver into ...
0
votes
2
answers
570
views
Selenium Python,default profile is not loading after using ChromeDriverManager().install()
After switching to ChromeDriverManager().install(),I am not able to use default profile.Any workaround there so that I can avoid logging in every time?
driver = webdriver.Chrome(service=Service(...
2
votes
1
answer
1k
views
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 ...
0
votes
0
answers
745
views
WebDriverManager fetching outdated chrome driver
My WebDriverManager appears to be attempting to fetch a chromedriver that is outdated, and I am not sure why. I've checked already that my Chrome is up to date. (107.0.5304.107 as of day of writing)
...
1
vote
1
answer
1k
views
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 ...
1
vote
2
answers
7k
views
How do I determine which MS Edge Driver is compatible with my OS Version to enable web automation with Selenium for Python?
I've been using Selenium with the Edge Driver for some time. I've been instantiating my Edge Driver by specifying the executable_path= parameter with no issues. However, I recently switched my web ...
0
votes
1
answer
1k
views
Error in user specific "selenium.common.exceptions.WebDriverException: Message: unknown error: DevToolsActivePort file doesn't exist"
it's me again
I'm having problem to run a selenium script coded in python, i have two users in Ubuntu Server, fabio user and rundeck user,
In fabio user the script works perfect but in rundeck user ...
-1
votes
1
answer
12k
views
WebDriverException: Message: unknown error: Chrome failed to start: exited abnormally using Selenium ChromeDriver and Chrome through WebDriverManager
I'm running this script:
from selenium import webdriver
from selenium.webdriver.chrome.options import Options
from selenium.webdriver.chrome.service import Service
from webdriver_manager.chrome import ...
10
votes
2
answers
27k
views
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
...
1
vote
1
answer
2k
views
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-...
1
vote
1
answer
3k
views
Opera webdriver is not starting on Selenium 4
I am trying to run the webdriver for opera browser under selenium 4. I am using webdriver-manager in my project. The webdriver-manager docs suggest using webdriver.Opera:
from selenium import ...
0
votes
1
answer
2k
views
Python webdriver manager, ValueError API Rate Limit Exceeded Use GH_TOKEN
I am facing an issue with webdriver-manager, for Firefox.
This is my code.
from selenium import webdriver
from selenium.webdriver.firefox.service import Service
from webdriver_manager.firefox import ...
5
votes
2
answers
7k
views
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....
1
vote
1
answer
644
views
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....
1
vote
1
answer
2k
views
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 ...
0
votes
1
answer
947
views
OperaChromiumDriver installation using OperaDriverManager for Ubuntu 18.04
I am simply trying to get a webscraper working in a Civis container script ( Linux (Ubuntu 18.04) environment). I've tried a variety of things but this is the closest I've got and have no clue how to ...
-2
votes
1
answer
999
views
Selenium.webdriver.brave doesn't exist in python. Would you please make it?
Selenium4 Brave Webdriver_manager python
My Issue:
I want to use Selenium 4 on brave using webdriver_manager written in python.
I went to https://pypi.org/project/webdriver-manager/ and installed ...
4
votes
3
answers
16k
views
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 ...
0
votes
1
answer
5k
views
ConnectionError: HTTPSConnectionPool(host = 'api.github.com', port=443): Max retries exceeded using GeckoDriverManager and WebdriverManager for Python
I made a web-scraping script using Selenium, Pandas, bf4 and GeckoDriver
import requests
from bs4 import BeautifulSoup
from selenium import webdriver
from selenium.webdriver.firefox.options import ...
0
votes
6
answers
6k
views
How to stop selenium from printing WebDriver manager startup logs?
When I'm launching a new selenium driver I get a message as:
====== WebDriver manager ======
Current chromium version is 90.0.4430
Get LATEST chromedriver version for 90.0.4430 chromium
Driver [/root/....
1
vote
1
answer
6k
views
ModuleNotFoundError: No module named 'webdriver_manager' error using Webdriver Manager for Selenium Python
I am creating a project to automatically open a page, and I installed Selenium, but it says that there:
no such module as webdriver_manager
And the directory "C:\Users\Nina\chromedriver.exe&...
3
votes
3
answers
11k
views
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 ...
3
votes
4
answers
11k
views
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 --...
5
votes
4
answers
3k
views
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 ...
0
votes
1
answer
431
views
How to auto download .exe files to project directory based on browser version using Webdriver Manager in Python Robotframework
I tried below code but its downloaded and save it the path we configured in pip list [2nd line of code]. Instead of auto download in my local machine, I want to download directly into project ...
0
votes
1
answer
1k
views
I want to auto download Chrome.exe file into my currrent project directory using Webdriver manager in Robot framework
Currently I'm downloading exe files manually and using for browser launch in Python Robot framework. I just want to upgrade it auto download using Webdriver Manager.
I tried below code but its ...
44
votes
16
answers
200k
views
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)
...
5
votes
1
answer
3k
views
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....