Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

lighthouse

# Install Lighthouse globally
npm install -g lighthouse

# Run locally, output as html, output to path, headless, ignore ssl erros
lighthouse [URL] --output html --output-path [FILENAME].html --chrome-flags="--headless" --chrome-flags="--ignore-certificate-errors"
Source by developers.google.com #
 
PREVIOUS NEXT
Tagged: #lighthouse
ADD COMMENT
Topic
Name
1+5 =