browser_wait
Waits for a specified condition—fixed duration, text appearing, element selector, URL change, or network idle—before continuing; supports combinable checks and an optional timeout.
Instructions
等待条件成立:timeMs 固定时长 / text 文本出现 / selector 元素出现 / url 跳转 / idle 网络空闲。可组合。
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": "browser_wait"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | 等待 URL 变为该模式 | |
| idle | No | 等待网络空闲(最长 15s) | |
| text | No | 等待该文本出现在页面上 | |
| timeMs | No | ||
| selector | No | ||
| timeoutMs | No | 等待超时(默认 15000) |