chrome_wait_for
Wait for UI conditions—text, elements, URL, or network idle—to appear. Returns success or current state on timeout, allowing next-step decisions.
Instructions
Wait for UI state changes after actions. Returns success status, which conditions were met, actual state, and time elapsed. On timeout, returns current state (not error) so agent can decide next action. Can chain multiple conditions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | URL pattern to wait for (regex pattern, waits until URL matches) | |
| text | No | Text content to wait for (waits until text is visible on page) | |
| element | No | CSS selector for element to wait for (waits until element appears and is visible) | |
| timeout | No | Maximum time to wait in milliseconds (default: 5000ms, max: 30000ms) | |
| networkIdle | No | Wait for network idle (milliseconds of no network activity) |