2. What is Puppeteer
Node library which provides a high-level API to control Chrome or
Chromium over the DevTools Protocol. Puppeteer runs headless by
default, but can be configured to run full (non-headless) Chrome or
Chromium.
3. Terms
DevTools Protocol
The Chrome DevTools Protocol allows for
tools to instrument, inspect, debug and
profile Chromium, Chrome and other
Blink-based browsers
Headless
It's a way to run the Chrome browser in a
headless environment. Essentially,
running Chrome without chrome!
4. What can I
do?
Generate screenshots and PDFs of
pages.
Crawling & generate pre-rendered
content (SSR).
Automate form submission, UI
testing, keyboard input, etc.
Capture a timeline trace of your
site to help diagnose performance
issues.
Test Chrome Extensions
Most things that you can do in the
browser can be done using Puppeteer!
7. Automate form
submission, UI testing,
keyboard input, etc.
medium.com/datadriveninvestor/chirag-goel-changing-the-world-with-automation-31c7ba718555
Github Automation
Run the following script file:
8. Capture a timeline
trace of your site to
help diagnose
performance issues.
Github Official ChromeLab
Run the following script file: