wait_for
Delays browser actions until the specified selector appears, using an optional URL and timeout to avoid acting before the page element is ready.
Instructions
Wait until a selector appears (up to timeout_ms).
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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| selector | Yes | ||
| timeout_ms | No |