![]() ![]() Run Lighthouse as a Chrome Extension Caution: Unless you have a specific reason, you should use the Chrome DevTools workflow rather than this Chrome Extension workflow. See Using programmatically for an example of running Lighthouse programmatically, as a Node module. The -g flag installs it as a global module. Install the current Long-Term Support version of Node.Install and run the Node command line tool After 30 to 60 seconds, Lighthouse gives you a report on the page. DevTools shows you a list of audit categories. ![]() To the right is the Lighthouse panel of Chrome DevTools, which is powered by LighthouseĬlick Analyze page load. To the left is the viewport of the page that will be audited. ![]() In Google Chrome, go to the URL you want to audit.Lighthouse has its own panel in Chrome DevTools. Note: The CLI and Node workflows require you to have an instance of Google Chrome installed on your machine. Run Lighthouse and link to reports without installing a thing. Integrate Lighthouse into your continuous integration systems. Automate your Lighthouse runs via shell scripts. Easily audit pages that require authentication, and read your reports in a user-friendly format. Get startedĬhoose the Lighthouse workflow that suits you best: You can also use Lighthouse CI to prevent regressions on your sites.Ĭheck out the video below from Google I/O to learn more about how to use and contribute to Lighthouse. The audit is important, as well as how to fix it. Each audit has a reference doc explaining why From there, use the failing audits as indicators on how to improve the page. You give Lighthouse a URL to audit, it runs a series of audits against the page,Īnd then it generates a report on how well the page did. You can run Lighthouse in Chrome DevTools, from the command line, or as a Node module. It has audits for performance, accessibility, progressive web apps, SEO, and more. You can run it against any web page, public or requiring authentication. Lighthouse is an open-source, automated tool for improving the quality of web pages. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |