Examples
Runnable zshot examples — each shows the CLI command, the equivalent server JSON, and a curl call.
| Example | License | What it does |
|---|---|---|
| Hello from ZShot | Standard | Screenshot a page to PNG. |
| Wait for a JavaScript event | Standard | Capture once a custom JavaScript event fires. |
| Rendered HTML | Free | The page’s rendered DOM, after scripts run. |
| Accessible PDF | Standard | A tagged, print-sized PDF. |
| WebM video | Standard | Record an animation as a WebM clip. |
| Animated GIF | Standard | Record an animation as a looping GIF. |
| Tablet screenshot | Standard | Screenshot a page at a tablet device preset. |
| Dark mode | Standard | Capture a page with the dark color scheme emulated. |
| Full-page phone screenshot | Standard | Capture the full scrolling page at a phone device preset. |