-
Notifications
You must be signed in to change notification settings - Fork 82
Open
Description
When running:
chrome_service = Service(ChromeDriverManager(chrome_type=ChromeType.CHROMIUM).install())I get the following error. I think it's caused because on https://chromedriver.storage.googleapis.com/ version 106.0.5235 doesn't exists.
How can I fix this?
File "/home/runner/work/shipping-data/shipping-data/routescanner_automated.py", line 183, in <module>
soups_ods_2 = get_webpages2(od_ports, headless=True)
File "/home/runner/work/shipping-data/shipping-data/routescanner_automated.py", line 55, in get_webpages2
chrome_service = Service(ChromeDriverManager(chrome_type=ChromeType.CHROMIUM).install())
File "/opt/hostedtoolcache/Python/3.10.7/x64/lib/python3.10/site-packages/webdriver_manager/chrome.py", line 39, in install
driver_path = self._get_driver_path(self.driver)
File "/opt/hostedtoolcache/Python/3.10.7/x64/lib/python3.10/site-packages/webdriver_manager/core/manager.py", line 30, in _get_driver_path
file = self._download_manager.download_file(driver.get_url())
File "/opt/hostedtoolcache/Python/3.10.7/x64/lib/python3.10/site-packages/webdriver_manager/core/download_manager.py", line 28, in download_file
response = self._http_client.get(url)
File "/opt/hostedtoolcache/Python/3.10.7/x64/lib/python3.10/site-packages/webdriver_manager/core/http.py", line 33, in get
self.validate_response(resp)
File "/opt/hostedtoolcache/Python/3.10.7/x64/lib/python3.10/site-packages/webdriver_manager/core/http.py", line [16](https://github.com/EwoutH/shipping-data/actions/runs/3249621607/jobs/5332229194#step:7:17), in validate_response
raise ValueError(f"There is no such driver by url {resp.url}")
ValueError: There is no such driver by url https://chromedriver.storage.googleapis.com/106.0.5[23](https://github.com/EwoutH/shipping-data/actions/runs/3249621607/jobs/5332229194#step:7:24)5/chromedriver_linux64.zip
Error: Process completed with exit code 1.
Metadata
Metadata
Assignees
Labels
No labels