3

Would appreciate some help on this.

  • I downloaded CHROMEDRIVER
  • Copied it to python path in my system

While I try to invoke CHROME browser and set an executable path under Pycharm, I get the below error.

code --- driver = webdriver.Chrome(executable_path= "C:\Users\vinayak.gulati\AppData\Local\Programs\Python\Python37\chromedriver.exe")

Error I get ---- selenium.common.exceptions.SessionNotCreatedException: Message: session not created: This version of ChromeDriver only supports Chrome version 83

Thanks.

AzyCrw4282
  • 7,222
  • 5
  • 19
  • 35
vinayak gulati
  • 31
  • 1
  • 1
  • 3

2 Answers2

5

Your Chrome Driver version needs to match your Chrome Browser version

  1. Get you Chrome Browser version, by typing chrome://version

  1. Download Chrome Driver version that matches you Chrome Browser version, form this website https://chromedriver.chromium.org/downloads
ASAD HAMEED
  • 2,296
  • 1
  • 20
  • 36
1

You can simply downgrade your chromedriver to work with your current Chrome version.

OR

Update the Google Chrome version to 83 will also do the job.

Steps: 1. Go to Help -> About Google Chrome -> Chrome will automatically look for updates(update Chrome to the latest version)

enter image description here

Update it and if it displays version 83.x.x.x.x.x. then it should solve your problem.

AzyCrw4282
  • 7,222
  • 5
  • 19
  • 35