Salvatore Timpani
Salvatore Timpani

Reputation: 457

Selenium Error: This version of ChromeDriver only supports Chrome version 81

I am getting an error when opening up chrome with Selenium, it opens up and closes the window right after opening. Here is my code:

import requests
import json
from selenium import webdriver
driver = webdriver.Chrome(executable_path=r'C:\Users\Salvatore\Desktop\Desktop\webdrivers\chromedriver.exe')```

This is the error:
```selenium.common.exceptions.SessionNotCreatedException: Message: session not created: This version of ChromeDriver only supports Chrome version 81```

Upvotes: 0

Views: 1046

Answers (3)

Udhav Sarvaiya
Udhav Sarvaiya

Reputation: 10061

Your ChromeDriver version is required to be based on the Chrome browser version

Upvotes: 0

Michael Krezalek
Michael Krezalek

Reputation: 114

You can check your current chrome version by going Chrome -> Options -> About Chrome and then you will know what version of the chromedriver.exe you need to download

Upvotes: 0

Justin Lambert
Justin Lambert

Reputation: 978

Please check which chrome browser you are using , you should use chrome driver exe according chrome browser version ( Error seems like you are using chrome driver version of 81 but your chrome browser version no more than 81 like 83,84)

https://chromedriver.chromium.org you can download latest chrome driver version here

Upvotes: 1

Related Questions