waitForElement
Waits for an element to appear in the DOM, with configurable timeout and visibility, to handle dynamic content and lazy-loaded elements.
Instructions
Wait for element to appear. For dynamic content and lazy-loaded elements.
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": "waitForElement"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeout | No | Max wait ms (default: 5000) | |
| visible | No | Wait for visible (default: true) | |
| selector | Yes | CSS selector |