Wait for browser condition
browser_waitWait for a specific page condition (URL, load state, locator state, or text presence) with a timeout, ensuring deterministic page readiness.
Instructions
Wait for one deterministic passive condition on an explicitly addressed page: an exact/safe-glob URL, domcontentloaded/load state, locator state (optionally through a bounded semantic iframe chain), or case-sensitive top-document text presence/absence. The wait occupies that session queue, is bounded by timeoutMs, and must not depend on a later action queued in the same session; use browser_action_and_wait for action-triggered events.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageId | Yes | ||
| condition | Yes | ||
| sessionId | Yes | ||
| timeoutMs | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageId | Yes | ||
| satisfied | Yes | ||
| sessionId | Yes | ||
| operationId | Yes |