puppeteer/examples
Use case-driven examples for using Puppeteer and headless chrome
Featured achievements
The project's latest awards
#1 Repository of the month
#1 Repository of the month
#1 Repository of the month
Useful Puppeteer demos!
Examples for using Puppeteer to do big, bold things.
Output from some of the examples:
code_coverage.js
Test lazy loading strategy by seeing CSS/JS code coverage usage across page load.
verify_sw_caching.js
Verify all the resources you expect are being cached by a service worker for offline.
google_search_features.js
Gut check your page to make sure it renders correctly for Google Search.
lazyimages_without_scroll_events.js
Determine if your lazy loaded images will be seen correctly by Google Search.
speech.js
Make your browser talk.
pacman.js
Play the Google Pac-Man Doodle.
element-to-pdf.js
Turn a DOM element into a PDF.
crawlsite.js
Discover all the URLs on a site and visualize the subpages.
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 © 2018 Google Inc.
Similar Projects
Discover other similar projects and AI models.
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
Crawlee—A web scraping and browser automation library for Node.js to build reliable crawlers. In JavaScript and TypeScript. Extract data for AI, LLMs, RAG, or GPTs. Download HTML, PDF, JPG, PNG, and other files from websites. Works with Puppeteer, Playwright, Cheerio, JSDOM, and raw HTTP. Both headful and headless mode. With proxy rotation.
Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Give your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
Reverse engineer anything with agents, from app behavior down to native binaries.
Python tool for converting files and office documents to Markdown.
🙃 A delightful, community-driven framework for managing your zsh configuration. Built by 2,600+ contributors, with hundreds of plugins (git, rails, laravel, node, python, docker, kubectl, aws, and more), themes to spice up your terminal, and automatic updates to keep your command line feeling like home.