Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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

like image 647
doberkofler Avatar asked Mar 13 '17 09:03

doberkofler


3 Answers

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

like image 185
wethreetrees Avatar answered Nov 17 '22 19:11

wethreetrees


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

like image 1
Nagarjuna Avatar answered Nov 17 '22 19:11

Nagarjuna


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

like image 1
Zijun Huang Avatar answered Nov 17 '22 20:11

Zijun Huang