selenium.common.exceptions.SessionNotCreatedException: Message: session not created: This version of ChromeDriver only supports Chrome version 112 Current browser version is 114.0.5735.91 with binary path C:\Program Files\Google\Chrome\Application\chrome.exe
时间: 2024-02-26 15:53:23 浏览: 25
这个错误是由于你的ChromeDriver版本不匹配当前使用的Chrome浏览器版本所导致的。你需要下载一个与你的Chrome浏览器版本匹配的ChromeDriver版本,并将其放置在正确的路径下。你可以在ChromeDriver的官方网站上找到版本匹配的下载链接和使用说明。如果你已经下载了正确版本的ChromeDriver但仍然遇到问题,你可以尝试卸载并重新安装Chrome浏览器,或者检查你的系统环境变量是否正确配置。
相关问题
selenium.common.exceptions.SessionNotCreatedException: Message: session not created: This version of ChromeDriver only supports Chrome version 112 Current browser version is 114.0.5735.110 with binary path C:\Program Files\Google\Chrome\Application\chrome.exe
这个错误提示说明你正在使用的 ChromeDriver 版本只支持 Chrome 112 版本,但是你的 Chrome 浏览器当前版本是 114.0.5735.110,与 ChromeDriver 版本不匹配,导致无法创建会话。解决这个问题的方法是更新 ChromeDriver 版本,使其与当前安装的 Chrome 浏览器版本匹配。你可以在 ChromeDriver 的官方网站上下载最新版的 ChromeDriver,然后替换掉你当前使用的 ChromeDriver。如果你使用的是 Python 的 selenium 库,也可以使用 webdriver_manager 包自动下载并安装匹配当前 Chrome 浏览器版本的 ChromeDriver。
selenium.common.exceptions.WebDriverException: Message: session not created: This version of ChromeDriver only supports Chrome version 112
这个错误是由于当前使用的ChromeDriver版本与安装的Chrome浏览器版本不兼容所引起的。ChromeDriver是用于控制和自动化Chrome浏览器的工具。
要解决这个问题,你可以按照以下步骤进行操作:
1. 确认你的Chrome浏览器的版本。你可以在浏览器地址栏中输入"chrome://version"来查看Chrome浏览器的版本号。
2. 下载与你的Chrome浏览器版本匹配的ChromeDriver。你可以在ChromeDriver官方网站(https://sites.google.com/a/chromium.org/chromedriver/downloads)上找到不同版本的ChromeDriver下载链接。
3. 下载后,将ChromeDriver可执行文件放到你的系统路径中,或者将其路径配置到你的代码中。
完成以上步骤后,重新运行你的代码,应该就能够顺利创建会话并启动Chrome浏览器了。
如果还有其他问题,请随时提问!