Corion / WWW-Mechanize-Chrome

automate the Chrome browser

Home Page:https://metacpan.org/release/WWW-Mechanize-Chrome

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

'Lost UI shared context' Chrome error

sdondley opened this issue · comments

When running tests, the following error is thrown throughout the tests:

[0706/042333.730708:ERROR:gpu_process_transport_factory.cc(1017)] Lost UI shared context.

Occurs on both MacOS and Linux (Debian). The error doesn't cause any tests to fail and seems harmless. Not sure if there might be a way to get rid of it.

This is a problem that seems be more with Chrome / Chromium than the ways automating it. It also happens on WSL ( microsoft/WSL#3282 ) and with Puppeteer ( puppeteer/puppeteer#1925 ).

Most likely it is something with Chrome Headless where the code expects a UI to be available, but which isn't available (due to being headless).

I've been searching around for a command line switch that might suppress it. So far, no luck.

I've addressed this issue by addressing it in the documentation: 1ff5e90