gasper_vaupot
gasper_vaupot

Reputation: 91

Python selenium - session not created: This version of ChromeDriver only supports Chrome version 86 using ChromeDriver and Chrome with Selenium

When running my code I get this error:

This version of ChromeDriver only supports Chrome version 86

Current browser version is 88.0.4324.104 with binary path C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

Is it possible that my version is too big?

Upvotes: 0

Views: 699

Answers (3)

undetected Selenium
undetected Selenium

Reputation: 193088

This error message...

This version of ChromeDriver only supports Chrome version 86 Current browser version is 88.0.4324.104 with binary path C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

...implies that you are using ChromeDriver v86.x where as your Chrome Browser version is v88.0.4324.104.

Your main issue is the incompatibility between the version of the binaries you are using as follows:

  • You are using chromedriver=86.0
  • Release Notes of chromedriver=86.0 clearly mentions the following :

Supports Chrome version 86

Supports Chrome version 88

So there is a clear mismatch between chromedriver=86.0 and the ChromeDriver 88.0.4324.96


Solution

Ensure that:

  • ChromeDriver is updated to current ChromeDriver v88.0.4324.96 level.
  • Execute your @Test as non-root user.
  • Always invoke driver.quit() within tearDown(){} method to close & destroy the WebDriver and Web Client instances gracefully.

Upvotes: -1

shajahan
shajahan

Reputation: 102

you can download chrome driver version 86 from this link https://chromedriver.storage.googleapis.com/index.html?path=86.0.4240.22/

Upvotes: 0

Insula
Insula

Reputation: 953

The version you are using is outdated, type "version://chrome" into your browser and see what exact version you have. Then go to the chromedriver download and download the one for your version.

As your error says your version is "88.0.4324.104" so download this one and it should work.

Upvotes: 1

Related Questions