wait_for_download
WaitingWaits for a file download to begin or complete.
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
selector | string | Yes | — | Element that triggers the download |
save_path | string | No | | Path to save downloaded file |
iframe | string | No | | CSS selector for iframe context |
timeout | number | No | 30000 | Maximum wait time in milliseconds |
Usage Example
RTILA X PROJECT JSON
{
"command": "wait_for_download",
"params": {
"selector": "css=.download-report",
"save_path": "downloads",
"iframe": "",
"timeout": 30000
}
}
Related Scenarios
- View /scenarios/file-download/2 · file download
Related Learning Articles
Was this helpful?
Thank you for your feedback!