Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/puppeteer/examples
Use case-driven examples for using Puppeteer and headless chrome
https://github.com/puppeteer/examples
automation browser-testing browser-tools demos puppeteer
Last synced: 2 days ago
JSON representation
Use case-driven examples for using Puppeteer and headless chrome
- Host: GitHub
- URL: https://github.com/puppeteer/examples
- Owner: puppeteer
- License: apache-2.0
- Created: 2018-02-28T17:14:15.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2024-09-11T05:36:03.000Z (3 months ago)
- Last Synced: 2024-10-29T14:35:29.802Z (about 2 months ago)
- Topics: automation, browser-testing, browser-tools, demos, puppeteer
- Language: JavaScript
- Homepage: https://developers.google.com/web/tools/puppeteer/
- Size: 546 KB
- Stars: 2,369
- Watchers: 87
- Forks: 302
- Open Issues: 37
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
- awesome - puppeteer/examples - Use case-driven examples for using Puppeteer and headless chrome (JavaScript)
- awesome-list - examples - driven examples for using Puppeteer and headless chrome | puppeteer | 2063 | (JavaScript)
README
## Useful Puppeteer demos!
Examples for using [Puppeteer](https://developers.google.com/web/tools/puppeteer/) to do big, bold things.
Output from some of the examples:
### [code_coverage.js](./code_coverage.js)
Test lazy loading strategy by seeing CSS/JS code coverage usage across page load.
### [verify_sw_caching.js](./verify_sw_caching.js)
Verify all the resources you expect are being cached by a service worker for offline.
### [google_search_features.js](./google_search_features.js)
Gut check your page to make sure it renders correctly for Google Search.
### [lazyimages_without_scroll_events.js](./lazyimages_without_scroll_events.js)
Determine if your lazy loaded images will be seen correctly by Google Search.
### [speech.js](./speech.js)
Make your browser talk.
### [pacman.js](./pacman.js)
Play the Google Pac-Man Doodle.
### [element-to-pdf.js](./element-to-pdf.js)
Turn a DOM element into a PDF.
### [crawlsite.js](./crawlsite.js)
Discover all the URLs on a site and visualize the subpages.
### [side-by-side-pageload.js](./side-by-side-pageload.js)
Load 2 or more pages side-by-side to visually see the difference in page load. Optional desktop viewport and throttling settings.
### License
[Apache 2.0](./LICENSE) © 2018 Google Inc.