wait_for_bot_wall
Wait for a browser tab's bot wall to clear, run the configured solver if needed, and handle Turnstile, reCAPTCHA, or hCaptcha checkboxes before form submission.
Instructions
Wait out a bot wall on a tab, then attempt to solve it if it does not clear on its own. Polls the tab while the wall is auto-verifying (e.g. a Cloudflare 'Just a moment…' check that clears itself). If it becomes a user-required challenge it runs the configured solver, and if that fails it returns a structured verdict. Also call it before submitting a form that carries an embedded Turnstile, reCAPTCHA or hCaptcha checkbox: it waits for the widget to pass, presses the checkbox if needed, and reports whether a token was issued (image puzzles are never solved). When the page is required for the user's goal, stop and tell them to solve it (or hand off if you are a browser sub-agent); otherwise continue to the next task.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tab_id | Yes | ||
| max_wait_ms | No | How long to wait for the wall to clear on its own, in milliseconds (default 60000). | |
| apply_solver | No | Default true. Run the configured bot-wall solver after the wait budget if the wall is still present. | |
| poll_interval_ms | No | How often to re-observe the tab while waiting, in milliseconds (default 5000). |