wait
Pause Chrome automation until a CSS selector matches, text appears, network activity stops, or a fixed time passes, then return updated page content.
Instructions
Wait for a condition, then return the updated page content: an element matching a CSS selector, a piece of text appearing on the page, the network going quiet, or a fixed time.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "wait"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Text; resolves once it appears in the page's visible text | |
| time | No | Fixed wait in ms (use instead of a condition) | |
| timeout | No | Maximum wait for selector/text/networkIdle in ms (default: 5000) | |
| selector | No | CSS selector; resolves once a matching element exists | |
| networkIdle | No | Resolve once there has been no network activity for 500 ms |