browser_wait_for
Wait for a CSS selector or text to appear on a page after navigation or async render. Returns success and wait time; timeout returns false.
Instructions
Wait until a CSS selector appears or text is present on the page (e.g. after a navigation or async render). Returns { ok, waitedMs } — ok=false on timeout. To wait for the network to go quiet instead, use browser_wait_for_idle.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Substring of page text to wait for (if no selector). | |
| selector | No | CSS selector to wait for. | |
| timeoutMs | No | Max time to wait before giving up, in ms (default 10000). |