Strange error in selenium after upgrading to chromedriver 2.28 needed for chrome 57

蓝咒 提交于 2019-12-13 11:33:55

问题


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

[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


回答1:


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."




回答2:


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




回答3:


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



来源:https://stackoverflow.com/questions/42759936/strange-error-in-selenium-after-upgrading-to-chromedriver-2-28-needed-for-chrome

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!