wait_for
Wait for a visible element matching a CSS selector to appear. For script conditions, use evaluate_script explicitly.
Instructions
Wait for a visible element matching a CSS selector. JavaScript conditions are not supported; use evaluate_script explicitly when script execution is intended.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Optional page/tab ID to use | |
| timeout | No | Timeout in milliseconds (default: 30000) | |
| selector | Yes | CSS selector to wait for; required because condition-based waiting is not supported. | |
| condition | No | Unsupported. Passing a condition will make the extension reject the request; use evaluate_script explicitly instead. |