Selenium:新的 Chrome 版本 113.0.5672.64 驱动程序无法启动

Joh*_*es 6 google-chrome driver selenium-webdriver

我使用 selenium 和 chrome 驱动程序在 Jupiter 笔记本(Python)中进行网络抓取。使用新的 chrome 版本 (113.0.5672.64),驱动程序无法启动。我有 113.0.5672.63 chrome 驱动程序版本。它抱怨文件夹 Application/113.0.5672.63 中缺少 chrome_elf.dll。(手动使用 chrome 浏览器就可以了)。

我该如何解决这个问题?我真的需要让刮刀再次运行。任何帮助将不胜感激!

我已经卸载并重新安装了 chrome,但这没有帮助。我还删除并重新下载了 chrome 驱动程序。

Sas*_*ats 0

我开始看到类似的错误:

Incompatible release of chromedriver (version 113.0.5672.63) detected in PATH: /usr/bin/chromedriver

...


selenium.common.exceptions.SessionNotCreatedException: Message: session not created: This version of ChromeDriver only supports Chrome version 114
Current browser version is 113.0.5672.0 with binary path /usr/bin/chromium
Run Code Online (Sandbox Code Playgroud)

以下帮助了我:

Incompatible release of chromedriver (version 113.0.5672.63) detected in PATH: /usr/bin/chromedriver

...


selenium.common.exceptions.SessionNotCreatedException: Message: session not created: This version of ChromeDriver only supports Chrome version 114
Current browser version is 113.0.5672.0 with binary path /usr/bin/chromium
Run Code Online (Sandbox Code Playgroud)