Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ChromeDriverManager can't find driver by url #8

Open
EwoutH opened this issue Oct 14, 2022 · 0 comments
Open

ChromeDriverManager can't find driver by url #8

EwoutH opened this issue Oct 14, 2022 · 0 comments

Comments

@EwoutH
Copy link

EwoutH commented Oct 14, 2022

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant