Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 843
Mia Avatar asked Sep 10 '25 15:09

Mia


2 Answers

I had the same issue, I corrected this way

python3 -m pip install webdriver-manager --upgrade

python3 -m pip install packaging
like image 176
past cham Avatar answered Sep 13 '25 11:09

past cham


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()))
like image 30
Attiq Rahman Avatar answered Sep 13 '25 12:09

Attiq Rahman



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!