capture-template.mjs (page capture)
Tools · Edit, render, publish · Apache-2.0
- What it does
A puppeteer script you edit (base URL, routes, selectors) to capture a running web app as full-page 2x screenshots, per-element cut-outs and a layout.json of element boxes, which the page-camera shots use.
- Get it
Copy it, edit CONFIG at the top, npm i puppeteer, node capture-template.mjs
- Needs
Puppeteer (downloads its own Chrome), your app running locally with demo data
- License
Apache-2.0
- From