wait_for_download
Halts script execution until the ongoing browser download completes, tracking progress through download lifecycle events. Optionally specify a timeout to limit the wait duration.
Instructions
wait_for_download(30) — 点击下载后等待完成(Page.downloadWillBegin/Progress 事件)。
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_for_download"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeout | No |