wait_for_element
Wait for a CSS selector element to appear on the page. Use after navigation or clicking to ensure element is present before proceeding.
Instructions
Wait until an element appears on the page (by CSS selector). Useful after navigation or clicking.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"selector": "<selector>"
},
"name": "wait_for_element"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector | Yes | CSS selector to wait for | |
| timeout_ms | No | Max wait time in ms |