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 Scope | Wait for Download | |
|---|---|---|
| Activity Package | UiPath.UIAutomation.Activities v25.10.7 or higher | UiPath.System.Activities v23.4.2 or higher |
| Used for | Upload 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:
-
Download an xlsx file using the Wait for Download activity. The file information will be stored in the
fileResourcevariable of typeILocalResource.
-
Upload the file to a temporary file hosting service using the Browser File Picker Scope activity.
Below are the steps on how the Browser File Picker Scope activity can be used.
- Add a Use Application/Browser activity and indicate the web page where you want to upload the file.
- Place a Browser File Picker Scope inside the browser card. Configure it to respond with the
fileResourcepath. - Inside it, place the Click activity for the Choose File button that opens the file picker.
- Outside the Browser File Picker Scope, click the Upload button.
- Get the file URL and log it.

To follow the steps and try the tutorial yourself, check out the following sample project which can be opened in Studio desktop: FileDownloadAndUpload.