diff --git a/core/gather/navigation-runner.js b/core/gather/navigation-runner.js index 19f650eb69fd..f8c48947c228 100644 --- a/core/gather/navigation-runner.js +++ b/core/gather/navigation-runner.js @@ -353,7 +353,7 @@ async function navigationGather(page, requestor, options = {}) { // therefore we connect to the browser in the gatherFn callback. if (!page) { const {hostname = DEFAULT_HOSTNAME, port = DEFAULT_PORT} = flags; - lhBrowser = await puppeteer.connect({browserURL: `http://${hostname}:${port}`}); + lhBrowser = await puppeteer.connect({browserURL: `http://${hostname}:${port}`, defaultViewport: null}); lhPage = await lhBrowser.newPage(); page = lhPage; } diff --git a/docs/readme.md b/docs/readme.md index 868a418be950..cd7c8e8f07ed 100644 --- a/docs/readme.md +++ b/docs/readme.md @@ -113,6 +113,8 @@ Lighthouse can run against a real mobile device. You can follow the [Remote Debu You'll likely want to use the CLI flags `--screenEmulation.disabled --throttling.cpuSlowdownMultiplier=1` to disable any additional emulation. +> **Warning:** If you are running Lighthouse 10.x with any chrome version older than M112 (<=M111) you will need to add the `--legacy-navigation` to the `lighthouse` command. See https://github.com/GoogleChrome/lighthouse/issues/14746 for more info. + ```sh $ adb kill-server