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 事件)。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeout | No |