2
votes

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.

2
something similar happened to me once... this solved the problem - Lidor shimoni
Is the problem solved? - AzyCrw4282

2 Answers

4
votes

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
1
votes

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.