![]() ![]() "output_directory": "/home/chrome/reports ", If you want to use your own Chrome/Chromium instead of the provided by Puppeteer, you can add the following two environment variables: You can add your options for puppeteer by prefixing them with -puppeteer-Įxample: "-puppeteer-ignoreHTTPSErrors -puppeteer-slowMo 20" l, -lighthouse_params Optional parameters to pass to lighthouse w, -html Renders HTML reports alongside JSON reports d, -output_directory FOLDER Path to output reports Providing it twice will additionally provide info from `lighthouse-batch`. v, -verbose Providing this option once will show more info from Lighthouse. (example: "-no-sandbox -disable-setuid-sandbox -ssl-version-max=tls1.1") c, -chromium_params Optional parameters to pass to chrome/chromium browser p, -port PORT Chrome headless debug port (default: 9222) (example: /home/chrome/testcases/mytestcase.js) ![]() f, -file FILE Path to your testcase REQUIRED (default option) It uses lighthouse-batch to be able to automate export of multiple Installation npm install -g google-lighthouse-puppeteer -unsafe-perm=true The purpose of this package image is to produce performance report for several pages in connected mode and in an automated (programmated) way. Google Puppeteer is a tool to automate tasks on a Chrome (headless) browser.Google Lighthouse analyzes web apps and web pages, collecting modern performance metrics and insights on developer best practices.Google Chrome Headless is the Google Chrome browser that can be started without graphical interface to accomplish several tasks (PDF printing, performance, automation.).In addition to maintenance and stability there are many desirable features yet to be added.) (This product is available under a free and permissive license, but needs financial support to sustain its continued improvements. If you want this product to be maintained, please support on Patreon. DISCLAIMER: As-of 2021, this product does not have a free support team anymore. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |