Skip to main content

wait_for_download

Waiting

Waits 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

Related Learning Articles

Was this helpful?