Skip to content

Latest commit

 

History

History
61 lines (33 loc) · 2.42 KB

README.md

File metadata and controls

61 lines (33 loc) · 2.42 KB

Useful Puppeteer demos!

Examples for using Puppeteer to do big, bold things.

Output from some of the examples:

Test lazy loading strategy by seeing CSS/JS code coverage usage across page load.

screen shot 2018-02-26 at 10 20 41 am

Verify all the resources you expect are being cached by a service worker for offline.

screen shot 2018-03-01 at 5 09 32 pm

Gut check your page to make sure it renders correctly for Google Search.

screen shot 2018-03-07 at 12 50 32 pm

Make your browser talk.

Speech demo in action

Play the Google Pac-Man Doodle.

ePlaying Puppeteer Pacman

Turn a DOM element into a PDF.

elemen-to-pdf output example

Discover all the URLs on a site and visualize the subpages.

Crawl a site/SPA

Load 2 or more pages side-by-side to visually see the difference in page load. Optional desktop viewport and throttling settings.

Side by side page load

License

Apache 2.0 © 2018 Google Inc.