Wait For Download
Waits for the browser's next download to finish and returns the file's path and name.
Behaviour
Risk: None · Idempotent: No · Safe to retry: No · Recovery: Not replayed after a crash
Package UI Automation activities VeloPhex.UIAutomation.Activities 0.7.1-rc.12 · Supported (Core profile) · type id velophex.ui.waitForDownload
Windows · Needs an interactive desktop session
Properties#
Input#
Save to#
SaveTo · String · Optional · Default: Not specified in package metadata
A folder to copy the downloaded file into (created if needed; a taken name gets " (2)"). Empty leaves the file where the browser saved it.
Session#
Session · String · Optional · Default: Not specified in package metadata
The session id from a Use Application/Browser scope. Empty uses the enclosing scope's session, or outside a scope the most recent matching session.
Timeout (seconds)#
TimeoutSeconds · Int32 · Optional · Default: Not specified in package metadata
How long to keep looking for the element or window. Empty or not positive means the same as the enclosing Use Application/Browser scope, or outside a scope the project default (30 seconds).
Highlight before action#
HighlightBeforeAction · Boolean · Optional · Default: Not specified in package metadata
Draw the highlight around the element before acting on it.
Output#
File path#
FilePath · String · Output
The full path of the downloaded file (the copy in Save to, when given).
File name#
FileName · String · Output
The downloaded file's name.
Rules#
- Must be inside Use Application/Browser.
Retry and risk#
This activity is not marked safe to retry: if it fails partway, check whether its work already happened before running it again. If a run is interrupted and the outcome of a step is unknown, the step is never retried automatically (what to do). How activities declare this: characteristics, retries and risk.
Every activity also has the engine's common properties: Timeout and Continue On Error.
Related activities#
Generated from VeloPhex.UIAutomation.Activities 0.7.1-rc.12. Category: UI Automation › Browser Data. Keywords: ui, automation, element, download, wait, file, save, export.
Properties
Input
Output
Rules
Retry and risk
Related activities