cdp_wait
Wait for specific browser conditions like element visibility, text content, or page navigation during automation tasks.
Instructions
Wait for conditions: element visible, text contains, navigation, etc.
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": {
"condition": "<condition>"
},
"name": "cdp_wait"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| condition | Yes | Condition to wait for | |
| selector | No | CSS selector for element conditions | |
| value | No | Value to match | |
| timeout | No | Timeout in ms (default: 30000) |