Skip to content

docs(fetch): --wait and --wait-for need --manual --js-render - #29

Merged
AnderRV merged 2 commits into
mainfrom
fix/wait-flags-need-js-render
Oct 7, 2026
Merged

AnderRV merged 2 commits into
mainfrom
fix/wait-flags-need-js-render

Conversation

@AnderRV

@AnderRV AnderRV commented Oct 7, 2026 •

Copy link
Copy Markdown
Member

Summary

Under Adaptive Stealth Mode (the default), the API usually ignores wait and wait_for unless JavaScript rendering is forced: a selector that never appears still returns 200 within a second, at the basic rate. zenrows fetch --wait-for in auto mode was therefore usually a silent no-op.

  • zenrows fetch --help: --wait and --wait-for now say they need --manual --js-render and that auto mode may ignore them.
  • skills/trace-debug: the failure map told agents to add --wait-for to an auto-mode retry. It now says to add it to a --manual --js-render run.

Help text and skill only; request behavior is unchanged.

Test plan

  • npm test (286 passing)
  • Live API check: under mode=auto, a never-matching wait_for → 200 in 1s at basic cost; with js_render it fails (RESP001) after waiting

🤖 Generated with Claude Code

…de ignores them

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@AnderRV AnderRV self-assigned this Oct 7, 2026
@AnderRV
AnderRV marked this pull request as ready for review October 7, 2026 12:38
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@AnderRV
AnderRV merged commit 25c6e76 into main Oct 7, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant