GithubHelp home page GithubHelp logo

anwanido / puppeteer-examples Goto Github PK

View Code? Open in Web Editor NEW

This project forked from puppeteer/examples

0.0 0.0 0.0 172 KB

Use case-driven examples for using Puppeteer and headless chrome

Home Page:

License: Apache License 2.0

JavaScript 77.84% HTML 22.16%

puppeteer-examples's Introduction

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


Determine if your lazy loaded images will be seen correctly by Google Search.

screen shot 2018-10-09 at 12 15 10 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


Apache 2.0 © 2018 Google Inc.

puppeteer-examples's People


argyleink avatar ebidel avatar enixcoda avatar mathiasbynens avatar mesaugat avatar mkamakura avatar snaylor86 avatar svenmay avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.