activities
latest
false
UiPath logo, featuring letters U and I in white

UI Automation Activities

Last updated Jun 23, 2025

How-to guide

The Browser File Picker Scope activity can be used to upload files into a web application, where a file picker dialog is involved. For downloading a file, the Wait for Download activity from the UiPath.System.Activities package can be used.

To use the Browser File Picker Scope, the activity must be placed inside a Use Application/Browser activity and configure it with the file/files you want to input in the dialog. The activity that triggers the file picker dialog (usually a click on a Chose File button) must be placed in the body of the Browser File Picker Scope activity.

File paths can be relative or absolute. Relative paths will be resolved to full paths relative to the project’s directory.

Note that you might need to enable file URLs access for the extension. This option is enabled by default in Serverless environments.

Comparison Browser File Picker Scope vs Wait for Download
 Browser File Picker ScopeWait for Download
Activity PackageUiPath.UIAutomation.Activities v25.10.7 or higherUiPath.System.Activities v23.4.2 or higher
Used forUpload file(s) Download file
Accept single/multiple file(s) Single file/Multiple files (Input File Path(s)) Single file (Output File Resource)
Must be placed inside an activity Use Application/Browser Use Application/Browser
Inside the activity's body Place the activity that triggers the file picker dialog Place he activity that starts the download

Example for using the activity in Studio Web

Let's consider the following scenario with 2 steps:

1. Download an xlsx file using the Wait for Download activity. The file information will be stored in the fileResource variable of type ILocalResource.
docs image
2. Upload the file to a temporary file hosting service using the Browser File Picker Scope activity.
  1. Add a Use Application/Browser activity and indicate the web page where you want to upload the file.
  2. Place a Browser File Picker Scope inside the browser card. Configure it to respond with the fileResource path.
  3. Inside it, place the Click activity for the Choose File button that opens the file picker.
  4. Outside the Browser File Picker Scope, click the Upload button.
  5. Get the file URL and log it.
docs image
  • Example for using the activity in Studio Web

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2025 UiPath. All rights reserved.