lighthouse Command Examples

Analyzes web applications and web pages, collecting modern performance metrics and insights on developer best practices. More information: https://github.com/GoogleChrome/lighthouse.

lighthouse {{https://example.com}}

lighthouse --output {{json}} {{https://example.com}}

lighthouse --output {{json}} --output-path {{path/to/file.json}} {{https://example.com}}

lighthouse --quiet --chrome-flags="{{--headless}}" {{https://example.com}}

lighthouse --extra-headers={{path/to/file.json}} {{https://example.com}}

lighthouse --only-categories={{performance,accessibility,best-practices,seo,pwa}} {{https://example.com}}

lighthouse --screenEmulation.disabled --throttling-method={{provided}} --no-emulatedUserAgent {{https://example.com}}

lighthouse --help