Wait for condition
browser_wait_forWait for specified text to appear, disappear, or a CSS selector to become visible, ensuring UI tests sync after async updates.
Instructions
Waits for text to appear, text to disappear, or a selector to become visible. Use after actions that trigger async updates.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Wait until this text is visible. | |
| selector | No | Wait until this CSS selector is visible. | |
| textGone | No | Wait until this text is gone. | |
| sessionId | Yes | Session id returned by browser_start. | |
| timeoutMs | No |