Mia
Mia

Reputation: 507

ValueError: There is no such driver by url

Hi I am using Selenium on a mac with Apple M2 chip and since 10 days I keep getting the following error (initially I did not have this error but I changed computers and now I can no longer use Selenium) :

ValueError: There is no such driver by url https://chromedriver.storage.googleapis.com/106.0.5249/chromedriver_mac64_m1.zip

I read the following threads about this issue:

https://groups.google.com/g/chromedriver-users/c/JRuQzH3qr2c?pli=1

https://github.com/SergeyPirogov/webdriver_manager/issues/443

But I fail to understand how to fix this problem.

I tried updating webdriver-manager but I still get the same error.

I also downloaded the latest release of chromedriver here https://sites.google.com/chromium.org/driver/ but then fail to understand what to do next.

Any help or comments would be highly appreciated.

Upvotes: 26

Views: 43633

Answers (13)

kche
kche

Reputation: 11

For me, I had to change the requirements.txt to show 4.0.1 instead of the 3.8.x version it was originally referencing. Even though I had 4.0.1 installed, it was still messing up.

Upvotes: 1

user22491585
user22491585

Reputation: 21

https://sites.google.com/chromium.org/driver/downloads Current Releases If you are using Chrome version 115 or newer, please consult the Chrome for Testing availability dashboard. This page provides convenient JSON endpoints for specific ChromeDriver version downloading.

Upvotes: 2

adir abargil
adir abargil

Reputation: 5745

Updating your own chrome broswer version might also be helpful in some cases, accordingly to version 4.0.0 of webdriver_manager if your version is below 113 it might solve the issue....

link for update chrome://settings/help

Upvotes: 0

Mohammad Amani
Mohammad Amani

Reputation: 41

use version argument in the ChromeDriverManager

webdriver.Chrome(ChromeDriverManager(driver_version='114.0.5735.90').install(), 
options=chrome_options)

Upvotes: 4

Mohamed El hadjaoui
Mohamed El hadjaoui

Reputation: 51

I confronted the same issue; however, I was able to resolve it by upgrading the webdriver-manger:

python3 -m pip install webdriver-manager --upgrade

Upvotes: 2

past cham
past cham

Reputation: 561

I had the same issue, I corrected this way

python3 -m pip install webdriver-manager --upgrade

python3 -m pip install packaging

Upvotes: 46

driver = webdriver.Chrome(service=Service(ChromeDriverManager().install()), options=options)

Upvotes: 0

Catalin
Catalin

Reputation: 302

You can use Chrome ver 115 by updating the webdriver-manager to 4.0.0

With this package update the old syntax

driver = webdriver.Chrome(ChromeDriverManager().install(), options=chrome_options)

started to work again :)

Upvotes: 1

juan pablo
juan pablo

Reputation: 36

I had the same issue, I corrected this way

driver = webdriver.Chrome(ChromeDriverManager(driver_version='114.0.5735.90').install())

Upvotes: 1

Help
Help

Reputation: 11

this works for me:

driver = webdriver.Chrome(ChromeDriverManager(version='114.0.5735.90').install())

Upvotes: 1

Jodat Jabal
Jodat Jabal

Reputation: 21

Try this while scraping using selenium:

from selenium import webdriver
from webdriver_manager.chrome import ChromeDriverManager
from selenium.webdriver.chrome.service import Service

driver = webdriver.Chrome(service=Service(ChromeDriverManager(version='114.0.5735.90').install()),options=option)

Upvotes: 2

Attiq Rahman
Attiq Rahman

Reputation: 173

You have to switch to version 114.0.5735.90. Because the end point to download version 115.0.5790.102 has changed and chrome driver manager is not yet updated. Thus the below code should work.

driver = webdriver.Chrome(service=ChromeService(ChromeDriverManager(version='114.0.5735.90').install()))

Upvotes: 13

Max
Max

Reputation: 934

found this here - https://github.com/SergeyPirogov/webdriver_manager/pull/445

pip uninstall webdriver_manager
pip install git+https://github.com/SergeyPirogov/webdriver_manager@master

Upvotes: 8

Related Questions