Open browser activity in uipath issue Cannot communicate with Internet Explorer browser

I am trying to use open browser activity in uipath , but it is giving the following error :
Main has thrown an exception

Message: Cannot communicate with Internet Explorer browser.

Source: Open browser

Exception Type: BrowserOperationException

UiPath.Core.BrowserOperationException: Cannot communicate with Internet Explorer browser. —> System.Runtime.InteropServices.COMException: Cannot communicate with Internet Explorer browser.
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)

And when i am using start process activity , then it is working fine

Could anyone please help for the same.

Using the start process activity is always recommended.

This activity will never give any error.
Provided the path of the browser is correct and website address is enclosed in " " .

I don’t really think Open Browser is required if your intention is to only access a web site from a browser of your choice.

Hi @vikrammahit,

you can refer this post

Regadrs,
Arivu

why is this open in idea and why not search first?

Hello,

Thanx for sharing idea.
I have already tried with start process activity, it is working fine with crome browser, but activities are taking too much time to execute while working with internet explorer browser.

Is there any alternative idea, please suggest.

@vikrammahit,

This might help

Hello,
i have tried using the WaitForReady=none option , still facing same problem.

Most of the people have managed to get this resolved by setting WaitForReady = None.

This issue normally auto resolves after a day or two.

But still, if its intermittent, please format the Windows OS and try installing it all over again.

It would be smooth after that with no challenges :slight_smile:

Yes it is working after reinstallation of windows OS 2010 to 2007.
Working Fine now.

Thanks You for your support and suggessions.

Sounds Good :slight_smile:

Whenever you face any issues and you find a solution, then please do post here on the forum(Just a request, though the decision of posting rests on you.) .

It might help those people who have similar issues.

Regards.
Prashant Singh

Sure

Thanks,
Vikram Mahit

Hi All, I am doing the advanced training assignment 1 and come up with this problem with open browser. (attached picture)
I wounder what could cause this problem? when i did this workflow everything worked fine but now it isn’t working. Can someone help me?

Regards, Mikael

HITeam,

I use in XAML file open browser activity set as chrome but it was run in the “chromium” why?

And throws an error too ?

Hi @RaviDevaraj, that’s a problem with OS.
You can use Mozilla or the recommended IE.

Best regards,
Santosh Pothina

oh ok .
But In IE doesnot support the cometdocs application to automate that in through UiPath

that’s a reason i have choosen the different browser ? in that itself i have an another problem

@RaviDevaraj , First try removing/uninstall chromium and then check for chrome.
The below references may help you (don’t mind if they can not :wink: )

Remove Chromium from windows

Revert to chrome

Regards,
SP

i uninstall the chromium in control panel and i deleted the folder in my users folder too

And then again i run the xaml file it throes an Error like this see below !!
image

Can you check what is the default browser for your PC? can you be able to open chrome manually?
I’m sure it is still because of chromium or its supporting applications. try again reinstalling the extension from uipath and restart the PC .

You still have an alternative :slight_smile: (thanks to UiPath)

Use Invoke power shell activity and pass “C:\Program Files (x86)\google\chrome\application\chrome.exe” (target location of chrome) in the command Text property. Once, browser is opened then start Ui Automation on chrome.
Let me know if any issue.

Regards,
SP

1 Like

chrome only

yes.

yes its work fine

Another Issues : But now after that click event need to held for that i am capturing the selector select on “Indicate the screen” throughs an error see below

image

And in chrome i cannot able to set the extension ?why

In Application setup menu–> setup Extensions → i click the Chrome it doesn’t divert towards the chrome ?
Show dialog box as this see below :
image

1 Like