shadowmoose / pyderman

Install Selenium-compatible Chrome/Firefox/Opera/PhantomJS/Edge webdrivers automatically.
MIT License
29 stars 11 forks source link

Download failed for M1 mac, Chromedriver version 107.0.5304.62 #28

Closed KurtLeimeister closed 1 year ago

KurtLeimeister commented 1 year ago

Today, I have had some issues downloading the latest Chromedriver version on an M1 mac:

Pyderman is attempting to download the driver from https://chromedriver.storage.googleapis.com/107.0.5304.62/chromedriver_mac64_m1.zip which fails with a 404

https://chromedriver.chromium.org/downloads lists the latest driver with the below URL, which exists: https://chromedriver.storage.googleapis.com/107.0.5304.62/chromedriver_mac_arm64.zip

To me, it looks like Google might have changed up their URL pattern - when I hard-code the new path in https://github.com/shadowmoose/pyderman/blob/master/pyderman/drivers/chrome.py#L8 the download runs successfully, I haven't ran any further tests at this point.