zshot/cliDownload

--navigator-goal

CLI
--navigator-goal
ValueGOAL
LicensePro

Ends the navigation as soon as this goal is met, instead of when the navigator judges its instructions done.

GoalMet when
url:PATTERNThe page URL matches PATTERN, where * matches anything. A pattern without * matches anywhere in the URL.
css:SELECTORAn element matching SELECTOR is on the page
Any other textThe navigator judges the statement true of the page

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" \
  --navigator-goal "css:#kpi-pipeline" \
  https://zshot-cli.com/example_assets/zrm/