zshot/cliDownload

--navigator-captures-playwright

CLI
--navigator-captures-playwright
ValuePATH
LicensePro

Writes the navigation session as a Node.js Playwright script that replays its actions. On the server, the script is returned as a Link response header.

zshot --cdp -- node PATH replays the script in ZShot, and node PATH in the browser Playwright launches. BASE_URL points it at another host.

Warning: Scripts Contain Credentials

The script holds every value the navigator typed, credentials included, in plain text.

Example

Run locally
zshot -f pipeline.png \
  --navigator-type "anthropic://YOUR_API_KEY@" \
  --navigator-credential email=success@zshot-app.com \
  --navigator-credential password=password \
  --navigate "Log in and open the pipeline" \
  --navigator-captures-playwright session.spec.js \
  https://zshot-cli.com/example_assets/zrm/