zshot/cliDownload

Examples

Runnable zshot examples — each shows the CLI command, the equivalent server JSON, and a curl call.

ExampleLicenseWhat it does
Hello from ZShotFreeScreenshot a page to PNG.
Wait for a JavaScript eventFreeCapture once a custom JavaScript event fires.
Rendered HTMLFreeThe page’s rendered DOM, after scripts run.
Tablet screenshotFreeScreenshot a page at a tablet device preset.
Accessible PDFStandardA tagged, print-sized PDF.
WebM videoStandardRecord an animation as a WebM clip.
Animated GIFStandardRecord an animation as a looping GIF.
Dark modeStandardCapture a page with the dark color scheme emulated.
Full-page phone screenshotStandardCapture the full scrolling page at a phone device preset.
Emulate geolocationStandardCapture a page at an emulated geographic location.
Log in, then captureProSign into an app and screenshot a record the navigator reaches.
Log in, then extract JSONProNavigate an app, then have the formatter return a record set as JSON.
Crawl a site into a WACZProFollow links from a page and archive the whole site in one WACZ.
Archive a sitemap into a WACZProCapture every URL listed in a sitemap into one WACZ.
Run an API serverProStand up a token-protected zshot HTTP server and call it from Node.
Signed URL supportEnterpriseDeliver a looping menu-board WebM through a short-lived signed URL.
Browser as a CDNEnterpriseServe signed, cached renders and expire them with a Bearer-token DELETE.