UiPath Chrome浏览器连接问题



我最近开始在我们的自动化中使用UiPath。目前,我只从工作室运行此自动化,没有编排。

我的自动化在一段时间内工作得很好,但大多数时间都失败了,错误如下

[Error] Failed executionUiPath.Core.BrowserOperationException: Cannot communicate with the browser, please check the UiPath extension. ---> System.Runtime.InteropServices.COMException: Cannot communicate with the browser, please check the UiPath extension.
at UiPath.UiBrowserClass.Open(String bstrURL, String bstrCmdLineArgs, UiBrowserFlags flag)
at UiPath.Core.Browser.Open(String url, CommMethod startBrowserMechanism, Boolean privateSession, Boolean headlessSession, Boolean defaultSession, String cmdLineArgs)
--- End of inner exception stack trace ---
at UiPath.Core.Activities.ScopeActivity.EndExecute(NativeActivityContext context, IAsyncResult result)
at UiPath.Core.Activities.ObsoleteAsyncNativeActivity.BookmarkResumptionCallback(NativeActivityContext context, Bookmark bookmark, Object value)
at System.Activities.Runtime.BookmarkCallbackWrapper.Invoke(NativeActivityContext context, Bookmark bookmark, Object value)
at System.Activities.Runtime.BookmarkWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)

我的自动化连接到4-5个不同的网站。工作好1-2,然后失败。如果我一个一个地运行它们,那么所有的都通过了。

请建议可能是什么问题以及如何解决

请按照官方说明进行故障排除。你没有提到是哪个浏览器,所以它们都在这里:Chrome, Firefox, Edge。

基本上有几个地方可能是错误的:

  • 您的UiPath扩展没有安装在浏览器上,或者您没有启用它,或者您没有将其配置为"允许隐身"。按照说明安装(Chrome, Firefox, Edge)。
  • 您为给定的浏览器类型打开了多个浏览器会话或配置文件(例如:两个不同的Chrome帐户)。试着关闭所有的浏览器窗口,杀死Chrome/Edge等。
  • 您的环境、组策略或安全策略有问题。

最新更新