0

My WebDriverManager appears to be attempting to fetch a chromedriver that is outdated, and I am not sure why. I've checked already that my Chrome is up to date. (107.0.5304.107 as of day of writing)

from selenium import webdriver
from selenium.webdriver.chrome.service import Service as ChromeService
from webdriver_manager.chrome import ChromeDriverManager
driver = webdriver.Chrome(service=ChromeService(ChromeDriverManager().install()))
driver.get("https://www.google.com")

returns this error:

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/54.0.2840/chromedriver_win32.zip

I've also checked the history of chrome drivers and all of them start from 70+ onwards, yet it appears I am trying to fetch one from version 54?

Appreciate any help!

ZeeCeeCee
  • 11
  • 1
  • you can download chrome driver https://chromedriver.chromium.org/downloads. and the set the path `webdriver.Chrome("path")` – Ramesh Nov 19 '22 at 04:29
  • Try updating your webdriver manager and selenium to make sure they're up to date. There has been some renaming of binaries going on. – x3l51 Nov 19 '22 at 12:37
  • You can also specify a specific version with `webdriver.Chrome(service=ChromeService(ChromeDriverManager(version='106.0.5249.61').install()))` – x3l51 Nov 19 '22 at 12:39

0 Answers0