July 2018
Intermediate to advanced
354 pages
8h 51m
English
I really enjoy the ability to execute Lighthouse as a node module. The Lighthouse node module has a dependency on Chrome Launcher (https://www.npmjs.com/package/chrome-launcher), which will open an instance of Chrome to execute the test.
This means the machine executing Lighthouse should have Chrome installed. The tool uses a full instance of Chrome because it needs to render the page and use the Developer tools to emulate different modes.
Because Lighthouse is a node module, you need to install it using either npm or yarn. Like the other tools, I recommend installing it globally:
>npm install -g Lighthouse
You can run a full audit right from the command line by executing Lighthouse followed by ...
Read now
Unlock full access