[英]Selenium error: This version of ChromeDriver only supports Chrome version 83?
Would appreciate some help on this.将不胜感激这方面的一些帮助。
While I try to invoke CHROME browser and set an executable path under Pycharm, I get the below error.当我尝试调用 CHROME 浏览器并在 Pycharm 下设置可执行路径时,出现以下错误。
code --- driver = webdriver.Chrome(executable_path= "C:\Users\vinayak.gulati\AppData\Local\Programs\Python\Python37\chromedriver.exe")代码 ---驱动程序 = 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我得到的错误 ---- selenium.common.exceptions.SessionNotCreatedException:消息:session 未创建:此版本的 ChromeDriver 仅支持 Chrome 版本 83
Thanks.谢谢。
Your Chrome Driver
version needs to match your Chrome Browser
version您的Chrome Driver
版本需要与您的Chrome Browser
版本匹配
chrome://version
通过输入chrome://version
获取 Chrome 浏览器版本 You can simply downgrade your chromedriver
to work with your current Chrome
version.您可以简单地降级您的chromedriver
以使用您当前的Chrome
版本。
OR或者
Update the Google Chrome version to 83 will also do the job.将Google Chrome版本更新到83也可以完成这项工作。
Steps: 1. Go to Help -> About Google Chrome -> Chrome will automatically look for updates(update Chrome to the latest version)步骤: 1. Go 到帮助 -> 关于谷歌浏览器 -> Chrome 会自动寻找更新(更新 Chrome 到最新版本)
Update it and if it displays version 83.xxxxx
then it should solve your problem.更新它,如果它显示版本83.xxxxx
那么它应该可以解决您的问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.