Introduction to Google Chrome Lighthouse
Version being discussed here – Lighthouse 6.2.0
Lighthouse is an automation tool to audit the quality of web pages.
Lighthouse can help you monitor a bunch of metrics on mobile & desktop-like
- Performance
- Accessibility
- Best practices
- SEO
- PWA etc
Lighthouse is to be baked into the tooling pipeline so that your app quality is monitored on a regular basis.
There are 2 variants of Lighthouse. One is the web version & other is the nodeJS version which we can use to conveniently integrate to the tooling.
Understanding Lighthouse as a system
Purpose - Audit web pages in the tooling stage
Input - The web page
Output - Report in JSON
Configuration - Configurable in terms of what parameters to measure
Extensible - with plugins
Analysing output - can be ingested to program through JSON or human-readable with lighthouse viewer.
Programming language - NodeJS & GUI in the browser
Continue reading