- 入门指南
- 了解 UiPath Robot
- 安装要求
- 为 Unattended 自动化任务安装机器人
- 为 Unattended 自动化配置机器人
- 为 Attended 自动化安装机器人
- 为 Attended 自动化配置机器人
- 集成
- 监管
- 故障排除
Robot JavaScript SDK (RobotJS),一个用于将 UiPath 自动化功能合并到 JavaScript 应用程序中的库。
使用 UiPath 的 Robot JavaScript SDK (即 Robot JS),您可以将 UiPath 自动化功能合并到 JavaScript 应用程序中。它提供了一组 JavaScript 库,可充当基于 JavaScript 的应用程序和 UiPath 机器人之间的通信桥梁。
此 SDK 扩展了直接从 JavaScript 应用程序创建、监控和管理流程的能力。
先决条件
RobotJS requires the following:
- Studio and Robot version 2019.10 or greater installed on the machine
- Robot JavaScript add-on installed on the machine that executes the process
- Robot connected to an Orchestrator instance
Windows 操作系统上的 RobotJS
要在 Windows Server 2012 R2、Windows 8 和 8.1 上使用 RobotJS 插件,您需要:
- Robot JS 版本 1.2.5 及以上
- Robot 版本 2021.4.4 及以上
macOS 上的 RobotJS
要在 macOS ARMv8 和 AMD64 上使用 RobotJS 插件,您需要:
- Robot JS 版本 1.2.7 及以上
- Robot 版本 2021.4.4 及以上
其功能与 Windows 操作系统类似,但有一些例外:
- 它不支持 Safari 浏览器,
- 它不提供独立版本,并且
- 它仅执行跨平台自动化。
获取 Robot JavaScript SDK
Studio versions 2020.4+ provide the Robot JavaScript SDK by default. Licensed under Apache 2.0, it is available from the following sources:
- NPM: The SDK is available as an NPM package with TypeScript bindings. The NPM package can be included in a project by running the following command at the root of the project directory:
npm install --save @uipath/robotnpm install --save @uipath/robot - CDN: The CDN version is added before the closing
</body>tag:<script href="https://download.uipath.com/js/1.3.2/UiPathRobot.js"/><script href="https://download.uipath.com/js/1.3.2/UiPathRobot.js"/> - Direct download: The minimized version of the Robot Javascript SDK is available as a .js package:
https://download.uipath.com/js/1.3.2/UiPathRobot.jshttps://download.uipath.com/js/1.3.2/UiPathRobot.js
文档
您还可以使用命令在 .NET 中开发机器人 JavaScript SDK 功能。
规范
- SDK 规范的完整文档提供了有关机器人 Javascript SDK 所用模型和方法的详细信息。
- 示例参考提供了适用于样板和 Office 应用程序的预制样本,您可以轻松地将其集成到自己的自定义应用程序中。
试试吧
A practical demo using the Robot JavaScript SDK is available at Robot JS Demo. The demo securely connects to your existing Robot, retrieves the processes from UiPath Assistant, and displays them after access authorization is granted.