ScreenshotNeo

Blog

How-to

Short answers to one job at a time.

How-to12 min read

Naming Puppeteer Screenshots From Page URLs

Puppeteer does not name screenshots from their URLs automatically. Build safe, readable filenames from the final page URL, with rules for queries, fragments, collisions, and repeated captures.