Cannot communicate with browser an hour into the process

Hello

I was wondering if someone could help. I’ve been running my process nightly for the past 3 weeks without any issues. For the past 3 nights, however, I’ve started getting this error 1 hour into running it:

Use Browser Edge: Webpage: Cannot communicate with the browser, please check the UiPath extension.

The extension is installed and it works when I rerun it, but I shouldn’t have to rerun it.

Has anyone had this issue before or know how to fix it? As I’m baffled and very frustrated that it worked fine and now it doesn’t

Thanks

Have you watched the automation run? Maybe Chrome is crashing.

1 Like

Hi @Short,

It can happen due to any of the underlying reasons mentioned in the below documentation by UiPath on this error. Please have a look and see if any solution works for you:

Also, what is the version of your UiAutomation package and chrome extension?

Consider upgrading the package and reinstalling the chrome extension, should help. Also, there are few other workarounds suggested in below thread which worked for some users. Have a read:

Hope this helps.

Regards
Sonali

1 Like

Hi @Short

Try below steps, might be helpful

  • Reinstall UiPath extension
  • Clear browser cache
  • Update UiPath and Edge
  • Check permissions
  • Disable/re-enable Edge in UiPath settings
1 Like

See if any recent upgrade happened on your browser. If yes - it could be due to some intermittent compatibility issues between the browser and Ui Automation Packages

Try upgrading the packages installed in your code and monitor for few days

1 Like

Hi @Short

Many of the users are facing same issue with Extensions. This was causing due to Chrome version. If it is not updated to the latest version do update it, else downgrade to the previous version and stop the auto update of chrome.

Hope it helps!!

1 Like

I have faced similar issues with older browser extensions on Chrome browser, try installing latest browser extension.

1 Like

@Short

Same kind of issue i also faced recently,

i followed below steps now its working fine

1.installled latest version of chrome
2.deleted all cache and history
3.removed UiPath extension and added again

after following above steps able to run my executions.
give a try hope for you also it works

1 Like

Hi all

Seems like there’s an error on the website so the browser it’s looking for has changed it’s name.

I’m trying to put together a try catch but the only catch options are:

But I can’t work out which error is the same as the error I’m getting (Use Browser Edge: Statement Details: Cannot communicate with the browser, please check the UiPath extension.)

Any ideas? :slight_smile:

Hi @Short

Try
’ Browser activities
Catch ex As UiPath.Core.BrowserException
’ Handle browser communication error
Catch ex As Exception
’ Handle other errors
End Try

1 Like

you can keep generic one

System.Exception

It will capture all the types of errors

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.