--navigator-step-timeout
- CLI
- --navigator-step-timeout
Caps the seconds to wait for each reply from a navigator’s model, and for the page to answer each action the navigator takes.
A model that gives no reply in time is unavailable, and the session moves on to the next navigator. ?timeout=<secs> on a navigator’s connection string sets that model’s own reply timeout in place of this one.
Example
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-step-timeout 60 \
https://zshot-cli.com/example_assets/zrm/{
"url": "https://zshot-cli.com/example_assets/zrm/",
"output_type": "png",
"navigate": "Log in and open the pipeline",
"navigator_step_timeout": 60,
"navigator_type": ["anthropic://YOUR_API_KEY@"],
"navigator_credential": { "email": "success@zshot-app.com", "password": "password" }
}curl -X POST http://127.0.0.1:3000/ \
-H "Content-Type: application/json" \
-d '{"url":"https://zshot-cli.com/example_assets/zrm/","output_type":"png","navigate":"Log in and open the pipeline","navigator_step_timeout":60,"navigator_type":["anthropic://YOUR_API_KEY@"],"navigator_credential":{"email":"success@zshot-app.com","password":"password"}}' \
-o pipeline.png