- Getting Started
- UiPath® Assistant
- Installation and Upgrade
- Robot Types
- Robot Components
- Licensing
- Connecting Robots to Orchestrator
- Processes and Activities
- Logging
- Robot JavaScript SDK
- About the Robot JavaScript SDK
- Configuration Steps
- Specific Scenarios
- Restarting Robot Components
- Windows Sessions
- Login Using Thales Luna Credential System
- Login Using NShield Key Storage Provider
- Redirecting Robots Through a Proxy Server
- Executing Tasks in a Minimized RDP Window
- Using Mapped Network Drives
- Stopping a Process
- Disable Stop Button
- Custom Package Folders and Network Paths
- CrowdStrike Integration
- Robot Citrix Apps Virtualization
- Troubleshooting
- Common Connection Errors
- Unresponsive Robot Over RDP
- Duplicate Execution Logs
- Frequently Encountered Robot Errors
- Increased Process Execution Duration
- Enforced Package Signature Verification
- Message Too Large to Process
- Errors When Running as Administrator
- NuGet Packages Not Accessible After Migration
- User Access Control Prompt and UI Automation Activities
- .NET required during installation
- Assembly Cannot Be Loaded From Network Or Azure File Share
- Activities cannot find .NET Runtime
- .NET 8 projects fail to run
- Windows session is locked
About the Robot JavaScript SDK
A few things need to be considered first, such as having Studio and Robot v2019.10 or greater, connecting the Robot to Orchestrator, and installing the Robot JavaScript add-on. With the add-on installed, download the JavaScript SDK and use these SDK specifications to build your custom application or web page.
To use the JavaScript SDK, the JS Add-On for Robot needs to be installed on the end-user's machine where the Process is executed. The Robot Add-In exposes a secure communication layer between your application or web page and the UiPath® Robot on the target machine so that commands can be received and executed.
For the RobotJS Add-on to work on Windows Server 2012 R2, Windows 8 and Windows 8.1, make sure to use Robot JS version 1.2.5 or newer and Robot version higher or equal than 2021.4.4.
Starting with the 1.2.7 Robot JavaScript SDK release, the following macOS platforms are supported:
- ARMv8
- AMD64
Apache 2.0
License and can be downloaded and installed from the following sources:
NPM
package with TypeScript bindings. You can include it in your project by running the following at the root of your project
directory.
NPM |
|
</body>
tag.
Versioned: |
|
.js
package.
Direct Download |
|
The Developer Guide combined with the User Guide offer a comprehensive overview of the SDK and JavaScript Add-on for Robot, containing detailed information on how to use it, what prerequisites you need, and a step-by-step guide to create your first robot enabled application.
.NET
by making use of the Robot API commands.
- The full documentation of SDK Specifications provides detailed information on Models and Methods used by the Robot Javascript SDK.
- Sample References offer pre-built samples for Boilerplate and Office Applications that can be easily integrated in your custom application.
The Robot JavaScript SDK is available on macOS starting with the 1.2.7 release and comes bundled with the UiPath® Assistant for Mac.
The functionality is similar as on Windows, with a couple exceptions:
- Safari browser is not supported.
- No standalone version is available.
- Only cross-platform automations can be executed.
To see it in action, we have created a demo with the help of the Robot Javascript SDK which securely connect to your already installed Robot, fetches the processes available in your UiPath® Assistant and displays them on this page.
Click on the "List Processes" button below and grant consent to this page to see how it works in real life: