gpt4 book ai didi

java - Selenium 脚本未运行

转载 作者:行者123 更新时间:2023-12-01 21:12:25 25 4
gpt4 key购买 nike

Starting ChromeDriver 77.0.3865.40 (f484704e052e0b556f8030b65b953dce96503217-refs/branch-heads/3865@{#442}) on port 14991
Only local connections are allowed.
Please protect ports used by ChromeDriver and related test frameworks to prevent access by malicious code.
[1573970978.437][SEVERE]: Unable to receive message from renderer
Exception in thread "main" org.openqa.selenium.SessionNotCreatedException: session not created
from disconnected: Unable to receive message from renderer
(Session info: chrome=77.0.3865.120)
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:25:48'
System info: host: 'DESKTOP-JCFLT7B', ip: '192.168.1.107', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '10.0.2'
Driver info: driver.version: ChromeDriver

最佳答案

出现此问题是因为您的 Chrome 浏览器版本与 Chrome 驱动程序版本不兼容。检查您的 Chrome 浏览器版本,然后根据您的操作系统从以下位置安装 Chrome 驱动程序。

https://chromedriver.chromium.org/downloads

例如:我在 Windows 上使用 版本 78.0.3904.97(官方版本)(64 位),目前使用 chromedriver_win32.zip

enter image description here

关于java - Selenium 脚本未运行,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58898047/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com