browser_wait_for_download
Wait for a file download to finish and retrieve its saved path. Call before or after clicking a download button to capture the downloaded file's location.
Instructions
Wait for a file download to complete and return its saved path.
Call this before (or immediately after) clicking a download button.
The first download event is captured, saved to save_dir, and the
absolute file path is returned. timeout_ms: max wait (default 30s).Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | No | ||
| save_dir | No | data/downloads | |
| timeout_ms | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |