Edge: Error: Open Browser: Cannot communicate with the browser, please check the UiPath extension

Hi,

I got error message when I open URL in Edge. My system information is below:

  1. Studio: 2020.10.2
  2. Robot: 2020.10.2
  3. Orchestrator: 2020.10.4
  4. Edge: Microsoft Edge is up to date. Version 87.0.664.55 (Official build) (64-bit)
    The UI path extension is enabled in Edge.
    Detail error:
    RemoteException wrapping UiPath.Core.BrowserOperationException: Cannot communicate with the browser,
    please check the UiPath extension. —> RemoteException wrapping System.Runtime.InteropServices.COMException: Cannot communicate with the browser,
    please check the UiPath extension.
    at UiPath.UiBrowserClass.Open(String bstrURL,
    UiBrowserFlags flag)
    at UiPath.Core.Browser.Open(String url,
    Boolean privateSession,
    Boolean headlessSession,
    Boolean defaultSession)
    — End of inner exception stack trace —
    at UiPath.Core.Activities.ScopeActivity.EndExecute(NativeActivityContext context,
    IAsyncResult result)
    at UiPath.Core.Activities.AsyncNativeActivity.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)

Exception activity:
“Name”: “Open Browser”,
“Id”: “1.2”,
“InstanceId”: “3”,
“TypeName”: “UiPath.Core.Activities.OpenBrowser”

The browser is opened, but the URL is not passed and got exception message.

Our Edge browser has a default site.

It works with IE, Chrome.

Could you give some idea? or is it related to Edge setting?

Thanks

@wei.ji - did you install the UiPath extension for Edge?

image

Yes. It is installed. Do you think it may relate to any Edge setting?

image003.png

I figured out the issue now. The steps are below:

  1. Open current project in new version 2020.10.2
  2. Click manage Packages
  3. Update all project Dependencies to new version
  4. All code are migrated to new version
  5. Code access Edge worked