wait_for_element
Wait for a web element to become present, visible, clickable, or invisible before continuing your automation script.
Instructions
Wait until an element satisfies condition (present, visible, clickable, invisible).
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 | Selector for the target element | |
| strategy | No | Strategy to find element. Default: css | css |
| condition | No | Condition to wait for (present, visible, clickable, invisible). Default: visible | visible |
| timeoutMs | No | Timeout in milliseconds. Default: 10000 |