Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

session not created: This version of ChromeDriver only supports Chrome version 88

I installed the version chromedriver 88 as requested but my version chrome is 87.0.4280.88 that is the last version (outside beta)

while I am also asked to download version 88 of chrome

Here is the error :

selenium.common.exceptions.SessionNotCreatedException: 
Message: session not created: This version of ChromeDriver only supports Chrome version 88
Current browser version is 87.0.4280.88 with binary path 
C:\Program Files\Google\Chrome\Application\chrome.exe

How can I resolve this problem?

like image 735
the star Avatar asked Dec 08 '20 07:12

the star


People also ask

How do I get Chrome 103?

Chrome 103 is currently available as a Stable channel release. On Android, you can download it on the Play Store or via APK Mirror. For iOS, you'll find it in the App Store. On desktops, it's available on the Chrome website, which will automatically offer the right version for your operating system.

How do I find my ChromeDriver version?

In addition, the version of ChromeDriver for the current stable release of Chrome can be found at https://chromedriver.storage.googleapis.com/LATEST_RELEASE.


2 Answers

Your ChromeDriver version and your installed version of Chrome need to match up. You are using ChromeDriver for Chrome version 87. Keep both version same.

Check your Chrome version (Help -> About) and then find the correct ChromeDriver release. You could instead use webdriver-manager which can handle this for you.

Chrome is 87.0.4280.88

ChromeDriver Version 87

download from here https://chromedriver.storage.googleapis.com/index.html?path=87.0.4280.88/

like image 118
Ishwar Chincholkar Avatar answered Sep 21 '22 08:09

Ishwar Chincholkar


this type of error: selenium.common.exceptions.SessionNotCreatedException: Message: session not created: This version of ChromeDriver only supports Chrome version 89 Current browser version is 88.0.4324.190 ... occurs when the version of the SELENIUM controller differs from the version of the web browser that we currently have or are trying to use, from the code that we are programming, some parameters can be indicated to force certain configurations in the execution from our program remotely: https://www.selenium.dev/documentation/en/remote_webdriver/remote_webdriver_client/, another way we have is according to the error message we can see the Selenium version and the browser version we have, With that information we can then enter: https://chromedriver.storage.googleapis.com/index.html where we can see all the existing versions of the Chrome Driver, download the one we need and call it from the function that we are configuring, without need to upgrade or downgrade the browser directly.

Below the images to understand better, greetings!

Repo ChromeDriver Correct Version

I hope it is useful, best regards.

like image 37
ElAgus Avatar answered Sep 19 '22 08:09

ElAgus