Download to
This optional parameter controls how downloads and Print to PDF actions are presented to a robot using Desktop Automation. This parameter applies to all tabs created through actions on the browser tab.
This parameter can interact with the Wait Downloads action. Also, the parameter is available with the Create Page action.
Two modes are available with the Download to parameter.
-
Application
In this mode, the operation runs in the background and a download tab opens when the download has either completed or failed. To continue processing, robots can use a guard to monitor for this tab. This mode is the default for RPA versions 2025.2 and newer.
The downloaded data is kept in memory, and the robot can use actions on the download tab to copy the downloaded data into a variable and/or write it to a file.
On failures, the robot is presented with a download tab, but the completed attribute is set to false.
While downloads are active in a browser tab, Design Studio shows a download icon
on that tab.
Because the download is kept in memory, be aware that the maximum download size is constrained by memory settings on the host system.
Set the "Maximum size" (bytes) in Application mode to limit the maximum size of a download to prevent out-of-memory scenarios. If the download exceeds this limit, it is reported as a failure. The default limit is 32,000,000 bytes. A value of 0 disables the limit.
-
Dialog
The robot is presented with a Save As dialog and the download is written directly to disk. This mode is the default for earlier RPA versions and robots created with earlier versions.
When the download operation completes, a download tab appears in the Recorder View pane. The downloaded data is discarded from memory when the tab is closed. The following actions are available.
| Action | Description |
|---|---|
|
Store in File |
If download succeeded, stores the downloaded data in the specified file, either on the local file or the RFS share system. |
|
Store in Variable |
If download succeeded, copies the downloaded data into the variable. |
|
Close Download |
Closes the tab. |