0

I' m trying to access websites through python, but after 3 lines of coding, I' m stuck. One of the error messages says :

selenium.common.exceptions.SessionNotCreatedException: Message: session not created: This version of ChromeDriver only supports Chrome version 77 "

Maybe it's because I have the wrong version of ChromeDriver? If so what should I do?

This is my code:

from selenium import webdriver
chrome_path = r"C:\Users\kyg\Downloads\chromedriver_win32\chromedriver"
browser = webdriver.Chrome(chrome_path)

enter image description here

Dharman
  • 30,962
  • 25
  • 85
  • 135
김예군
  • 169
  • 2
  • 7
  • 1
    Make sure Chrome 77 is installed – Rahul L Sep 17 '19 at 10:38
  • Which version of chrome is installed on your computer? You should download the supported version of chrome driver [here](https://chromedriver.chromium.org/downloads) – Aman B Sep 17 '19 at 10:39
  • 2
    Possible duplicate of [session not created: This version of ChromeDriver only supports Chrome version 74 error with ChromeDriver Chrome using Selenium](https://stackoverflow.com/questions/55201226/session-not-created-this-version-of-chromedriver-only-supports-chrome-version-7) – Aman B Sep 17 '19 at 10:44

2 Answers2

2

Step 1: Please check that your Chromedriver & Chrome Browser version is the same.

Step 2: Go to Windows/System32 and make sure there is no chromedriver file is there.

Step 3: If you find a chrome driver in System32 delete it or replace it with the latest one.

-1

I was actually keeping on browsing and found an answer for my question. If anyone else is having the same problem, go to session not created: This version of ChromeDriver only supports Chrome version 74 error with ChromeDriver Chrome using Selenium and the read the answer for this question!!

김예군
  • 169
  • 2
  • 7