Chrome generally requires flags to run inside a Docker container:
--headless (to run headlessly)
--no-sandbox
sometimes, but not always --disable-gpu
Lighthouse launches it's own instance of Chrome other than the Chrome instance that webdrivers will load. Because of this, any flags that have been configured in the RSpec run to get Chrome to launch within a container will not be inherited by Lighthouse.
Lighthouse allows Chrome args to be passed with the --chrome-flags option. We should either:
Have the gem discover Chrome flags from the selenium options OR
Allow for additional opts to be passed in configuration
Chrome generally requires flags to run inside a Docker container:
--headless
(to run headlessly)--no-sandbox
--disable-gpu
Lighthouse launches it's own instance of Chrome other than the Chrome instance that webdrivers will load. Because of this, any flags that have been configured in the RSpec run to get Chrome to launch within a container will not be inherited by Lighthouse.
Lighthouse allows Chrome args to be passed with the
--chrome-flags
option. We should either: