Wait for the page
browser_waitWait until text appears, text disappears, or a CSS-selected element becomes visible, so automation handles delayed content and spinners; returns a clear timeout error if unmet.
Instructions
Wait until text appears, text disappears, or an element becomes visible — for pages that load content after the fact (search results, spinners, SPAs). With no condition, waits timeoutMs. Fails with a clear message on timeout.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Wait until this text is on the page. | |
| tabId | No | ||
| selector | No | Wait until an element matching this CSS selector is visible. | |
| textGone | No | Wait until this text is gone (e.g. "Loading…"). | |
| timeoutMs | No | Give up after this long (default 10000, max 60000). |