[Solved] Chrome Version Error: Message: session not created: This version of ChromeDriver only supports Chrome version 95

Error message: session not created: This version of chromedriver only supports chrome version 95

Solution steps:

1. Find the chrome version number in: copy version number: 97.0.4692.71

2. Search according to the version number in the official website, Ctrl + F search version No.: 97.0.4692.71

3. Unzip the chromedriver.exe is placed in the required path e:\Python\Python\Python36

4. Test code

from selenium import webdriver

driver = webdriver.Chrome()
driver.get('https://www.google.com/')

Similar Posts: