This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @author ebidel@ (Eric Bidelman) | |
* License Apache-2.0 | |
* | |
* Shows how to use Puppeeteer's code coverage API to measure CSS/JS coverage across | |
* different points of time during loading. Great for determining if a lazy loading strategy | |
* is paying off or working correctly. | |
* | |
* Install: | |
* npm i puppeteer chalk cli-table |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |