wait_for_element
Halt script execution until a specified element appears on the page. Use CSS selector to target, set timeout, and optionally require visibility.
Instructions
Wait for an element to appear on the page
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 |
|---|---|---|---|
| timeout | No | Maximum time to wait in milliseconds | |
| visible | No | Wait for element to be visible | |
| selector | Yes | CSS selector to wait for |