zshot/cliDownload

Wait for a JavaScript event

Requires a Standard license

Capture the Hello from ZShot page once its animation:complete event fires, saved to hello.png.

Run locally
zshot -f hello.png --wait-for js:animation:complete https://zshot-cli.com/example_assets/hello_zshot/
Captured once animation:complete fires. zshot ≥ 0.16.0
Expected output
The Hello from ZShot page settled to its dark final frame

See --wait-for for the other conditions you can wait on.