GoogleChrome / lighthouse-ci

Automate running Lighthouse for every commit, viewing the changes, and preventing regressions
Apache License 2.0
6.41k stars 644 forks source link

collect: use new headless mode #907

Closed brendankenny closed 9 months ago

brendankenny commented 1 year ago

Switch to --headless=new when headful isn't requested.

This is better in general, but should also fix bfcache results which have issues with the old headless mode (see https://github.com/treosh/lighthouse-ci-action/issues/126, https://github.com/WPO-Foundation/wptagent/pull/605).

I'd like to add a test that the bfcache audit isn't blocked by getting the "Back/forward cache is not supported by delegate" failure anymore, but I haven't found a good place to add that. Happy to take any suggestions!

rogerfernandes commented 1 year ago

Guys, any chance this Pull Request will be merged soon?