It's Fun (and Powerful!) — Run Multiple Foreground Automations in Parallel with UiPath & Save on VM & Licensing Costs!

It’s Fun (and Powerful!) — Run Multiple Foreground Automations in Parallel with UiPath & Save on VM & Licensing Costs!

Use Case Description

I recently had some fun experimenting with UiPath and discovered something both powerful and cost-saving:
:backhand_index_pointing_right: You can actually run multiple foreground automations in parallel on a single machine — yes, really!
This goes against the usual thinking that foreground automations must run one at a time due to session and GUI constraints. But with the right configuration, it works surprisingly well.

:wrench: How I Did It:
:light_bulb: The secret lies in leveraging Selenium WebDriver-style communication via UiPath’s browser automation:
Use Parallel For Each to launch multiple instances.
Feed it a dummy DataTable, where each row represents a single bot execution. Want 5 bots? Add 5 rows.

:brain: Inside each iteration:
Use the “Use Application/Browser” activity with:
Communication Mode: Chromium
WebDriver Mode: GUI
Each bot now opens a fresh, isolated Chromium session — and they all run in parallel.

:test_tube: Why This Works Technically:
Traditional GUI automation needs exclusive access to the screen or user session.
But in this case, WebDriver-based communication lets each bot talk directly to the browser using Chromium’s DevTools Protocol (CDP) — just like Selenium.
:white_check_mark: No user session needed
:white_check_mark: No shared screen conflicts
:white_check_mark: All bots run in true parallel, interacting with the DOM independently
That’s the technical reason it works — it’s all thanks to the WebDriver-like control layer underneath.

:money_with_wings: Why This Matters:
Running parallel foreground bots on a single machine means:
:white_check_mark: No extra VMs
:white_check_mark: No additional unattended licenses
:white_check_mark: Significant infra & licensing savings :money_bag:

:warning: Key Considerations:
:floppy_disk: Data Handling
UiPath isn’t thread-safe across parallel threads.
Stick to row-scoped variables only — avoid shared flags or global data.

:locked: Bot Detection
Fresh browser sessions = no cookies or history.
Some websites may flag these as bots.
Exploring options like undetected ChromeDriver-style workarounds in UiPath for smoother automation.

AS-IS WORKFLOW, TO-BE WORKFLOW

Other information about the use case

Industry categories for this use case: Other Sector

Skill level required: Advanced

UiPath Products that were used: UiPath Studio

Other applications that were used: Excel,Browser

Other resources: #uipath #rpa #foregroundautomation #parallelbots #selenium #chromium… | Haris N

What is the top ROI driver for this use case?: Accelerate growth and operational efficiency

2 Likes