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

UI Automation Activities

Last updated Jun 25, 2025

Browser File Picker Scope

UiPath.UIAutomationNext.Activities.NBrowserFilePickerScope

Description

Captures and handles a browser file picker dialog. This activity should be used as a scope for the activity that opens the file picker dialog.

It is supported for Chrome and Edge browsers on Windows, MacOS and Linux.

This activity must be added inside a Use Application/Browser activity.

Project compatibility

Windows | Cross-platform

Configuration

Designer panel
  • From the Mode drop-down menu, select what type of upload you want to perform:
    • Single File
    • Multiple Files
  • File path(s) - The file path(s) to input in the file picker dialog.
    • When Mode = Single File, provide a string or a string variable.
    • When Mode = Multiple Files, provide a collection of file paths (List<String>)
  • Actions that trigger the file picker - Add here the activity that opens the file picker dialog.
Properties panel

Timings

  • Wait for dialog to appear timeout - Specify the amount of type (in seconds) to wait for the file picker dialog to appear before throwing an error. The default value is 30 seconds.

Options

  • Continue on error - Specifies if the automation should continue even when the activity throws an error. This field only supports Boolean values (True, False). The default value is False. As a result, if the field is blank and an error is thrown, the execution of the project stops. If the value is set to True, the execution of the project continues regardless of any error.

Known limitations

The Browser File Picker Scope activity has the following limitations:
  • Only supported on Chrome or Edge.
  • Requires the Allow access to file URLs permission to be granted for the browser extension.
  • Does not handle file picker dialogs opened by the showOpenFilePicker API.

Allow file access

The Browser File Picker Scope activity requires the browser extension to have permission to access files.

This requirement can be met by enabling access to file URLs to the corresponding browser extension, following the instructions:

An alternative is to start the browser using the command line flag: --disable-extensions-file-access-check. The flag only applies when starting a brand new browser instance. This may require closing existing browser processes and/or disabling the Startup Boost feature in Edge.
Important: This alternative method will allow all browser extensions to access files, which can be a security risk.
The browser can be opened to allow access to files by adding this argument to the Use Application/Browser activity.
docs image
  • Description
  • Project compatibility
  • Configuration
  • Known limitations
  • Allow file access

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.