问题
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