- Node JS
- Lighthouse https://github.com/GoogleChrome/lighthouse
- Lighthouse Batch https://github.com/mikestead/lighthouse-batch
lighthouse <url> --view
lighthouse <url> --output=json --quiet
lighthouse <url> --output=json --output=html --output-path=./lighhouse-report/ --emulated-form-factor=desktop --throttling-method=devtools --quiet --chrome-flags="--headless"
Not sure if --no-sandbox
flag is causing Mac OS keychain prompt. Might need to just run this without that flag.
lighthouse-batch -g -s <url>,<url> --html --params="--chrome-flags=\"--no-sandbox --headless --disable-gpu\" --emulated-form-factor=mobile --throttling-method=devtools --quiet" --out="./lighthouse-mobile-`date +%F-%H-%M-%S`/"