Wait
browser_waitWait briefly for page activity. ms (or durationMs) must be 0–30000; negative values are INVALID_ARGUMENT. Values above 30000 are INVALID_ARGUMENT. Sending both ms and durationMs is INVALID_ARGUMENT. The result reports waitedMs and clamped. If urlIncludes is set and the tab URL does not contain it before the wait ends, the call returns TIMEOUT. After release_control, wait returns HUMAN_HAS_CONTROL even if a JavaScript dialog is still open. While the agent has control and a JavaScript dialog is open, wait returns DIALOG_PENDING. A second release returns ALREADY_RELEASED.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ms | No | Wait duration in milliseconds (0–30000). | |
| sessionId | Yes | ||
| durationMs | No | Alias for ms (0–30000). Do not send both. | |
| urlIncludes | No |