Pause for a human
browser_await_humanPause automation and hand control to a human for CAPTCHAs, login walls, 2FA codes, or payments, then wait until the page clears and resume with a fresh snapshot.
Instructions
Hand control to a person and wait. Use this the moment you hit anything a human must do: a CAPTCHA, a Cloudflare check, a login wall, a 2FA/OTP code, an SMS confirmation, or a payment step.
Do NOT try to solve a CAPTCHA yourself — clicking or typing at one fails and gets the profile flagged. Call this instead. It brings the browser window to the front, tells the operator what to do, and blocks until the page clears the challenge (or until timeoutSeconds). It then returns a fresh snapshot so you can carry on.
The profile must be running headed — a person cannot act on a headless window.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | The text to watch for, with textPresent/textGone. | |
| until | No | What counts as done. `challengeGone` waits for the detected challenge to clear. `manual` waits the full timeout — use it only when nothing observable changes. | challengeGone |
| reason | Yes | What the person needs to do, in one line. Shown to them verbatim, e.g. 'Solve the reCAPTCHA on the login page' or 'Enter the 6-digit code sent by SMS'. | |
| tabIndex | No | Act on this tab just for this call, without changing which tab is active. Defaults to the active tab. To switch tabs for good, use browser_tabs with action 'select'. | |
| profileId | Yes | Browser profile id, as passed to start_profile. | |
| pollSeconds | No | How often to re-check. | |
| timeoutSeconds | No | How long to wait for the person. Default 5 minutes. |