I'm trying to perform audit using Lighthouse CLI (not tab in DevTools but Node CLI tool). My app requires authentication.
Maybe somebody knows how to pass authentication in such a case?
I'm using command line like the following
lighthouse https://example.com:8100/some-path/ --budget-path=budget.json --output-path=report.html
Naeem Ahmed :
Please use the below options with CLI\n--extra-headers={auth cookies}\n\nOR use debugging port with CLI that lighthouse can open pages on same browser instance where authentication is already done\n--port=9222 //9222 is just an example\n",
2022-05-25T17:59:12