WebDriverManager fetching outdated chrome driver

638 Views Asked by At

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!

0

There are 0 best solutions below