Wait
browser_waitWaits until page text, URL, element state, network response, or network idle condition is met, then returns; use it to detect logins, search results, or loaded data without touching the page.
Instructions
Waits until text appears; gone: that text disappears; url: the URL changes; enabled: that button/input becomes enabled; response: a network response for that URL completes (returns its body); network_idle: the network goes quiet; otherwise for seconds. For SPAs (search results, lists, etc.), instead of reading the page, getting the data response (JSON) with response="/api/search" after a click is faster and more accurate (it searches from this agent's last action on that tab, so responses that arrived during the click are caught). Only reads, never touches the page, so the user's input is not lost (use it to detect login: url, gone="Password" or text="Inbox"). Returns as soon as the condition is met or another agent's message arrives. Keep waits minimal: long waits only for humans (login, etc.); to wait for other agents use slot_inbox wait.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tab | No | Target tab: number (1, 2…) or ID ("t7"). Use the stable ID when agents share a slot. Required for action tools when there are multiple tabs. | |
| url | No | Until the URL contains this (e.g. "mail.google.com/mail"). "" = until it differs from the current URL | |
| gone | No | Until this text disappears from the page (e.g. login form's "Password" gone = logged in) | |
| slot | Yes | Browser slot 1-30. "3", "slot 3", "browser 3" → 3. If the user gives a port like 14052, subtract 14049. | |
| text | No | Text to wait for | |
| agent | No | Your display name, shown to other agents. Subagents must always set it. Default "claude-68d9". | |
| enabled | No | Until this ref element (button/input) becomes enabled | |
| seconds | No | Plain wait in seconds. Avoid: wait on a condition (text/gone/url) or slot_inbox wait instead | |
| timeout | No | Max wait in seconds for text/gone/url/enabled/response/network_idle. 300-600 when waiting for a human login, etc. | |
| response | No | Until a network response whose URL contains this completes (e.g. "/api/search"). * ? wildcards work (matched against the full URL, e.g. "*api.example.com/v1/items*"). Returns the response body | |
| multiSlot | No | true only when one agent must handle several slots together (e.g. comparing). Normally omit (one agent = one slot; use subagents for the rest) | |
| network_idle | No | Until no network requests for 0.5s (before capture/read) |