playwright_wait_for
Wait for a condition in the DESKTOP grid browser (by pageId) before continuing: an element to appear or disappear, text to show up, or a fixed delay. Prefer this over polling with web_evaluate. Not a device — for a phone or tablet use webpage_wait_for (by udid).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Wait until this text appears anywhere on the page | |
| state | No | visible | hidden | attached | detached (default: visible). Applies to selector. | |
| pageId | Yes | Page ID from web_navigate | |
| selector | No | CSS selector to wait for | |
| timeoutMs | No | Timeout in ms (default 10000) |