wait_for_element
Wait for a page element selected by CSS, XPath, ID, name, tag, class, or link to become visible, clickable, present, or invisible before continuing browser automation.
Instructions
Wait until an element is visible 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 |
|---|---|---|---|
| by | No | Strategy | css |
| timeout | No | Seconds | |
| selector | Yes | Locator value | |
| condition | No | visible |