Wait for something
browser_wait_forWait for text to appear or disappear, for an element, for a load state, or for a fixed delay. Use this instead of retrying a failed click when a page is still settling.
Instructions
Wait for text to appear or disappear, for an element, for a load state, or for a fixed delay. Use this instead of retrying a failed click when a page is still settling.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Wait until this text is visible. | |
| state | No | ||
| target | No | Wait until this element is visible. | |
| seconds | No | Fixed delay. Prefer a condition. | |
| timeout | No | ||
| tabIndex | No | Act on this tab just for this call, without changing which tab is active. Defaults to the active tab. To switch tabs for good, use browser_tabs with action 'select'. | |
| textGone | No | Wait until this text is gone. | |
| profileId | Yes | Browser profile id, as passed to start_profile. |