Lihgthouse on Debian

Автор | 15.04.2020

Install latest Chrome

apt-get install xvfb imagemagick
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
dpkg -i google-chrome-stable_current_amd64.deb

install NodeJS and NPM

apt install nodejs
apt install npm
nodejs -v

Install Lighthouse

npm install -g lighthouse

Run test

lighthouse https://reverse.org.ua --chrome-flags="--no-sandbox --headless --disable-gpu"

Залишити відповідь