升级到铬57所需的chromedriver 2.28后,硒出现奇怪的错误

时间:2023-01-22 18:20:37

After being forced to upgrading to chromedriver 2.28 to use selenium with chrome 57, I get the following error message:

在*升级到chromedriver 2.28以使用硒与铬57之后,我收到以下错误消息:

[0313/100022.689:ERROR:child_thread_impl.cc(762)] Request for unknown Channel-associated interface: ui::mojom::GpuMain

Any ideas on what might this be about?

关于这可能是什么的任何想法?

Chromedriver: 2.28 Chrome: 57 Webdriver: 3.3 node: 6.10

Chromedriver:2.28 Chrome:57 Webdriver:3.3节点:6.10

3 个解决方案

#1


6  

See this answer to my question. This resolved my issue.

看到我的问题的答案。这解决了我的问题。

"Try the --disable-gpu switch. Chrome seems to have a problem with initializing the GPU. I had the same issue with Chromium (Version 57.0.2987.110) on my Arch Linux and with disabling the GPU everything works fine again."

“尝试使用--disable-gpu开关。Chrome似乎在初始化GPU时出现问题。我在Arch Linux上遇到与Chromium(版本57.0.2987.110)相同的问题,并且禁用GPU一切正常。”

#2


1  

Download latest chrome(version 55-57) driver @https://chromedriver.storage.googleapis.com/index.html?path=2.28/. This resolved problem for me.

下载最新的chrome(版本55-57)驱动程序@https://chromedriver.storage.googleapis.com/index.html?path = 2.28 /。这解决了我的问题。

#3


1  

Hi I was faced with the same issue before when I open some proxy in the back. Make sure you close it.

嗨我之前在后面打开一些代理时遇到了同样的问题。确保你关闭它。

#1


6  

See this answer to my question. This resolved my issue.

看到我的问题的答案。这解决了我的问题。

"Try the --disable-gpu switch. Chrome seems to have a problem with initializing the GPU. I had the same issue with Chromium (Version 57.0.2987.110) on my Arch Linux and with disabling the GPU everything works fine again."

“尝试使用--disable-gpu开关。Chrome似乎在初始化GPU时出现问题。我在Arch Linux上遇到与Chromium(版本57.0.2987.110)相同的问题,并且禁用GPU一切正常。”

#2


1  

Download latest chrome(version 55-57) driver @https://chromedriver.storage.googleapis.com/index.html?path=2.28/. This resolved problem for me.

下载最新的chrome(版本55-57)驱动程序@https://chromedriver.storage.googleapis.com/index.html?path = 2.28 /。这解决了我的问题。

#3


1  

Hi I was faced with the same issue before when I open some proxy in the back. Make sure you close it.

嗨我之前在后面打开一些代理时遇到了同样的问题。确保你关闭它。