zshot/cliDownload

Wait for a JavaScript event

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/
Expected output
The Hello from ZShot page settled to its dark final frame