Forrest logo
back to context overview

lighthouse

List of commands for lighthouse:

  • lighthouse:help lighthouse: Display help.
    $ lighthouse --help
    try on your machine
    explain this command
  • lighthouse:tldr:12f4b lighthouse: Generate a JSON report and save it to a specific file.
    $ lighthouse --output ${json} --output-path ${filename-json} ${https:--example-com}
    try on your machine
    explain this command
  • lighthouse:tldr:2e636 lighthouse: Generate an HTML report for a specific website and save it to a file in the current directory.
    $ lighthouse ${https:--example-com}
    try on your machine
    explain this command
  • lighthouse:tldr:694f6 lighthouse: Generate a report using the browser in headless mode without logging to `stdout`.
    $ lighthouse --quiet --chrome-flags="${--headless}" ${https:--example-com}
    try on your machine
    explain this command
  • lighthouse:tldr:6c15a lighthouse: Generate a report for specific categories only.
    $ lighthouse --only-categories=${performance,accessibility,best-practices,seo,pwa} ${https:--example-com}
    try on your machine
    explain this command
  • lighthouse:tldr:7a467 lighthouse: Generate a report, using the HTTP header key/value pairs in the specified JSON file for all requests.
    $ lighthouse --extra-headers=${filename-json} ${https:--example-com}
    try on your machine
    explain this command
  • lighthouse:tldr:a32b6 lighthouse: Generate a report with device emulation and all throttling disabled.
    $ lighthouse --screenEmulation.disabled --throttling-method=${provided} --no-emulatedUserAgent ${https:--example-com}
    try on your machine
    explain this command
  • lighthouse:tldr:d9fed lighthouse: Generate a JSON report and print it.
    $ lighthouse --output ${json} ${https:--example-com}
    try on your machine
    explain this command
back to context overview