- Overview
- UI Automation
- Applications and technologies automated with UI Automation
- Project compatibility
- UI-ANA-016 - Pull Open Browser URL
- UI-ANA-017 - ContinueOnError True
- UI-ANA-018 - List OCR/Image Activities
- UI-DBP-006 - Container Usage
- UI-DBP-013 - Excel Automation Misuse
- UI-DBP-030 - Forbidden Variables Usage In Selectors
- UI-PRR-001 - Simulate Click
- UI-PRR-002 - Simulate Type
- UI-PRR-003 - Open Application Misuse
- UI-PRR-004 - Hardcoded Delays
- UI-REL-001 - Large Idx in Selectors
- UI-SEC-004 - Selector Email Data
- UI-SEC-010 - App/Url Restrictions
- UI-USG-011 - Non Allowed Attributes
- UX-SEC-010 - App/Url Restrictions
- UX-DBP-029 - Insecure Password Use
- UI-PST-001 - Audit Log Level in Project Settings
- UiPath Browser Migration Tool
- Clipping region
- Computer Vision Recorder
- Activities index
- Activate
- Anchor Base
- Attach Browser
- Attach Window
- Block User Input
- Callout
- Check
- Click
- Click Image
- Click Image Trigger
- Click OCR Text
- Click Text
- Click Trigger
- Close Application
- Close Tab
- Close Window
- Context Aware Anchor
- Copy Selected Text
- Element Attribute Change Trigger
- Element Exists
- Element Scope
- Element State Change Trigger
- Export UI Tree
- Extract Structured Data
- Find Children
- Find Element
- Find Image
- Find Image Matches
- Find OCR Text Position
- Find Relative Element
- Find Text Position
- Get Active Window
- Get Ancestor
- Get Attribute
- Get Event Info
- Get From Clipboard
- Get Full Text
- Get OCR Text
- Get Password
- Get Position
- Get Source Element
- Get Text
- Get Visible Text
- Go Back
- Go Forward
- Go Home
- Google Cloud Vision OCR
- Hide Window
- Highlight
- Hotkey Trigger
- Hover
- Hover Image
- Hover OCR Text
- Hover Text
- Image Exists
- Indicate On Screen
- Inject .NET Code
- Inject Js Script
- Invoke ActiveX Method
- Key Press Trigger
- Load Image
- Maximize Window
- Microsoft Azure Computer Vision OCR
- Microsoft OCR
- Microsoft Project Oxford Online OCR
- Minimize Window
- Monitor Events
- Mouse Trigger
- Move Window
- Navigate To
- OCR Text Exists
- On Element Appear
- On Element Vanish
- On Image Appear
- On Image Vanish
- Open Application
- Open Browser
- Refresh Browser
- Replay User Event
- Restore Window
- Save Image
- Select Item
- Select Multiple Items
- Send Hotkey
- Set Clipping Region
- Set Focus
- Set Text
- Set To Clipboard
- Set Web Attribute
- Show Window
- Start Process
- System Trigger
- Take Screenshot
- Tesseract OCR
- Text Exists
- Tooltip
- Type Into
- Type Secure Text
- Use Foreground
- Wait Attribute
- Wait Element Vanish
- Wait Image Vanish
- Application Event Trigger
- Browser Dialog Scope
- Browser File Picker Scope
- Check/Uncheck
- Check App State
- Check Element
- Click
- Click Event Trigger
- Drag and Drop
- Extract Table Data
- For Each UI Element
- Get Attribute (Generic)
- Get Browser Data
- Get Clipboard
- Get Text
- Get URL
- Go to URL
- Highlight
- Hover
- Inject Js Script
- Keyboard Shortcuts
- Keypress Event Trigger
- Mouse Scroll
- Navigate Browser
- Select Item
- Set Browser Data
- Set Clipboard
- Set Runtime Browser
- Set Text
- Take Screenshot
- Type Into
- Use Application/Browser
- Perform browser search and retrieve results using UI Automation APIs
- Web Browsing
- Find Images
- Click Images
- Trigger and Monitor Events
- Create and Override Files
- HTML Pages: Extract and Manipulate Information
- Window Manipulation
- Automated List Selection
- Find and Manipulate Window Elements
- Manage Text Automation
- Load and Process Images
- Manage Mouse Activated Actions
- Automate Application Runtime
- Automated Run of a Local Application
- Browser Navigation
- Web Automation
- Trigger Scope Example
- Enable UI Automation support in DevExpress
- Computer Vision Local Server
- Mobile Automation
- Release notes
- About the mobile device automation architecture
- Project compatibility
- Get Log Types
- Get Logs
- Get Page Source
- Get Device Orientation
- Get Session Identifier
- Install App
- Manage Current App
- Manage Other App
- Open DeepLink
- Open URL
- Mobile Device Connection
- Directional Swipe
- Draw Pattern
- Positional Swipe
- Press Hardware Button
- Set Device Orientation
- Take Screenshot
- Take Screenshot Part
- Element Exists
- Execute Command
- Get Attribute
- Get Selected Item
- Get Text
- Set Selected Item
- Set Text
- Swipe
- Tap
- Type Text
- Terminal

UI Automation Activities
Browser File Picker Scope
UiPath.UIAutomationNext.Activities.NBrowserFilePickerScope
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.
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.
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.
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:
--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.
The browser can be opened to allow access to files by adding this argument to the Use Application/Browser activity.
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.
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 |
Let's consider the following scenario with 2 steps:
fileResource
variable of type ILocalResource
.
2. Upload the file to a temporary file hosting service using the Browser File Picker Scope activity.
- Place a Browser File Picker Scope. Configure it two respond with the
fileResource
path. - Inside it, place the click on the Select a file button that opens the file picker.
- Outside the Browser File Picker Scope, click the Upload button.
- Get the file URL and log it.