wait_for_element
Wait for a CSS selector to match an element on the active page, optionally waiting until the element is visible or present within a specified timeout.
Instructions
Wait for a CSS selector to match an element on the active 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 |
|---|---|---|---|
| selector | Yes | ||
| timeoutMs | No | ||
| state | No | ||
| contextId | No |