browser_wait_for_selector
Pause browser automation until a CSS selector matches an element in the desired state (visible, hidden, attached, detached) or times out.
Instructions
Wait for an element to appear in the page
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | No | Element state to wait for | |
| timeout | No | Maximum wait time in milliseconds | |
| selector | Yes | Selector to wait for | |
| sessionId | No | Browser session ID |