chrome_wait_for
Poll an open Chrome tab until a CSS selector appears or a JavaScript expression returns truthy.
Instructions
Poll an existing Chrome tab until a selector exists or a JavaScript expression returns truthy.
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": {
"kind": "<kind>",
"value": "<value>"
},
"name": "chrome_wait_for"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| value | Yes | CSS selector when kind=selector; JavaScript expression when kind=expression. | |
| targetId | No | Chrome tab id to target. | |
| timeoutMs | No | Default 10000. | |
| intervalMs | No | Default 250. | |
| urlIncludes | No | Match the target tab by URL substring. | |
| titleIncludes | No | Match the target tab by title substring. |