Answer the question
In order to leave comments, you need to log in
What should I do to make Selenium see the updated chromedriver?
Selenium gives errors on tests and swears at an outdated chrome driver:
selenium.common.exceptions.SessionNotCreatedException: Message: session not created: This version of ChromeDriver only supports Chrome version 91E Current browser version is 93.0.4577.82
Downloaded a new driver, replaced the old one - did not help . Rebooted - did not help. I deleted the old path from Path (the driver was in the root folder of the python), created the C: \ bin folder, put the new driver there and updated the path in Path - the same error. I'm green in these matters, tell me where to dig? I can't imagine why it doesn't detect a new driver.
Answer the question
In order to leave comments, you need to log in
Check that the version of the web driver matches the version of the installed chrome, then drop it into the project folder (preferably, but not necessary).
driver = webdriver.Chrome(executable_path='absolute_path_to_chromedriver')
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question