Environment-002 UIPath Chrome Extension
关于扩展程序
UiPath 扩展程序可帮助您将自动化能力延伸到网页浏览器、Java 应用程序、Silverlight 应用程序和 Citrix 环境。它们可在此类环境中实现用户界面元素原生检测,让选取器能得以构建妥当。UiPath 扩展程序可从 Studio 或命令提示符安装。
请注意,若要进行 Citrix 自动化,您需要在所有 Citrix XenApp 应用程序服务器上安装 UiPath 远程运行时,并在客户端计算机上安装 Citrix 扩展程序。
在 Studio 中,扩展程序位于“Studio 后台视图”中的“工具”页面上。****若要从这里安装扩展程序,只需单击您需要的那一个。然后,出现的消息框会告知您扩展程序是否安装成功。

Installing extensions from the Command Prompt is done with the SetupExtensions tool, which is found in the C:\Program Files (x86)\UiPath\Studio\UiPath folder. Please note that administrator rights are required to install extensions from the Command Prompt.

以上是UiPath官网给出的安装UIPath Chrome Extension的文档
https://docs.uipath.com/studio/v2018.4/docs/installing-the-chrome-extension
UiPath2018.4使用 Chrome Extension
UiPath官网在v2018.4中写的是Chrome版本不得低于64版本
实际测试后发现安装73之后版本就不行了
所以我们安装Chrome 72.0.3626.96版本
安装完Chrome 72.0.3626.96版本后
在UiPath.Studio的Tools中点击Chrome Extension安装

UiPath.Studio中显示已安装,可以打开Chrome输入chrome://extensions/ 检查是否安装
查看Chrome中是否存在UiPath Web Automation 9.0.6821
若存在则安装成功
如不存在,则去C:\Program Files (x86)\UiPath\Studio\UiPath\BrowserExtension
找到dkgencfabioofgdmhhjljpkbbchbikbh.crx
Copy到桌面并解压缩到文件夹dkgencfabioofgdmhhjljpkbbchbikbh
手动安装
1、 确认Chrome的chrome://extensions/中问开发者模式
2、 加载已解压的扩展程序
之后选中dkgencfabioofgdmhhjljpkbbchbikbh文件夹添加
添加后,UiPath Web Automation 9.0.6821已存在
检查Chrome Extension是否可用
使用UIExplorer在Chrome页面中查看Selector,已可以点击到具体的UI而不是一个大框
UiPath2019.10.4版本安装Chrome Extension
在C:\Program Files (x86)\UiPath\Studio\UiPath\BrowserExtension中将
uipath_extension_for_chrome.crx拖入 Chrome浏览器中

点击继续,安装完成
使用UIExplorer在Chrome页面中查看Selector,已可以点击到具体的UI而不是一个大框
Tips
谷歌浏览器弹出“恢复”页面窗口,如何禁止
C:\Users\Admin\AppData\Local\Google\Chrome\User Data\Default\Preferences
Before:
"exit_type":"Crashed"
After:
"exit_type":"Normal"
将Preferences 改为“只读”