- Studio and Robot version 2019.10 or greater installed
- A Robot connected to Orchestrator
If you upgrade from v2019.10 to v2020.2 and later, you need to manually uninstall the UiPath Robot JS Add-on before running the Studio and Robot installer.
The access is handled by a two-step dialog. Both steps have to be confirmed in order to run RobotJS. They can be automated as described below.
This step refers to the browser requesting permissions to open the UiPath Assistant.
It can be automated by adding the
uipath-web://* value as a trusted (allowed) url in the browser's settings. The
uipath-web://* refers to the UiPath Robot web protocol handler.
Based on the browser used, different settings need to be configured. For example, if you are using Google Chrome, follow the steps described in the Google Chrome URLAllowList documentation.
This can be automatically allowed by adding the
UIPATH_ROBOTJS_ALLOWLIST System Environment Variable.
The values used in the variable need to be the URLs of your custom application or web page, separated by comma. The URL should contain the port number only if a standard port is not used (
This SDK provides all the necessary methods and properties you can include in your custom application or web page. You can download it as follows:
The npm package is available with TypeScript bindings. To include it in your project, you need to execute the following command at the root of your project directory:
npm install --save @uipath/robot
For CDN, you need to include the SDK before closing the
<body> ... ... <script src="//download.uipath.com/js/1.2.8/UiPathRobot.js"></script> </body>
In order to change add-on settings, you need to add the
TokenExpiryInDays parameters in the
uipath.config file from the installation folder. By default, the section does not contain any keys.
The configuration file needs to contain the following:
<robotJsSettings> <add key="ListenerPort" value="2323" /> <add key="TokenExpiryInDays" value="30" /> </robotJsSettings>
Any request coming from a new domain needs to have consent from the user to allow access of UiPath Robots from a web application. These consents are valid for the said number of days mentioned in this setting.
Updated 27 days ago