puppeteer
Installation
SKILL.md
Puppeteer
Puppeteer is a Node library which provides a high-level API to control Chrome or Chromium over the DevTools Protocol.
When to Use
- Chrome Specific: If testing cross-browser isn't a priority (or you only care about Chromium).
- Web Scraping: Excellent for scraping SPAs because it renders JS.
- PDF/Screenshots: The industry standard for "HTML to PDF" generation.
Quick Start
import puppeteer from "puppeteer";