简体   繁体   English

Selenium报错:这个版本的ChromeDriver只支持Chrome 83版?

[英]Selenium error: This version of ChromeDriver only supports Chrome version 83?

Would appreciate some help on this.将不胜感激这方面的一些帮助。

  • I downloaded CHROMEDRIVER我下载了 CHROMEDRIVER
  • Copied it to python path in my system将其复制到我系统中的 python 路径

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版本匹配

  1. Get you Chrome Browser version, by typing chrome://version通过输入chrome://version获取 Chrome 浏览器版本

  1. Download Chrome Driver version that matches you Chrome Browser version, form this website https://chromedriver.chromium.org/downloads下载与您的 Chrome 浏览器版本匹配的 Chrome 驱动程序版本,形成此网站https://chromedriver.chromium.org/downloads

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.

相关问题 appium python报错:此版本ChromeDriver仅支持Chrome 83版 - appium python error:This version of ChromeDriver only supports Chrome version 83 selenium.common.exceptions.SessionNotCreatedException:消息:session 未创建:此版本的 ChromeDriver 仅支持 Chrome 版本 83 - selenium.common.exceptions.SessionNotCreatedException: Message: session not created: This version of ChromeDriver only supports Chrome version 83 Selenium 报错:这个版本的ChromeDriver只支持Chrome 81版 - Selenium Error: This version of ChromeDriver only supports Chrome version 81 selenium ChromeDriver 仅支持 Chrome 版本 91 - selenium ChromeDriver only supports Chrome version 91 Python Selenium 错误“此版本的 ChromeDriver 仅支持 Chrome 版本 79。” - Python Selenium Error “This version of ChromeDriver only supports Chrome version 79.” 在 Selenium Phython 中出现错误:“此版本的 ChromeDriver 仅支持 Chrome 版本 79” - Getting an error of: “This version of ChromeDriver only supports Chrome version 79” in Selenium Phython Python selenium - session not created: This version of ChromeDriver only supports Chrome version 86 using ChromeDriver and Chrome with Selenium - Python selenium - session not created: This version of ChromeDriver only supports Chrome version 86 using ChromeDriver and Chrome with Selenium 此版本 ChromeDriver 仅支持 Chrome 版本 97 当前浏览器版本为 96.0.4664.45 使用 Selenium 和 Chrome 出现二进制路径错误 - This version of ChromeDriver only supports Chrome version 97 Current browser version is 96.0.4664.45 with binary path error using Selenium and Chrome 此版本的 ChromeDriver 仅支持 Chrome 102 版本 - This version of ChromeDriver only supports Chrome version 102 SessionNotCreatedException:此版本的 ChromeDriver 仅支持 Chrome 版本 84 使用 ChromeDriver 和 Chrome 通过 Selenium 和 Python - SessionNotCreatedException: This version of ChromeDriver only supports Chrome version 84 using ChromeDriver and Chrome through Selenium and Python
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM