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

uiautomation
activities
uipath

#1

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.


Opening java page: password and username arguments
#2

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.


#3

Hi @vikrammahit,

you can refer this post

Regadrs,
Arivu


#4

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


#5

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.


#6

@vikrammahit,

This might help


#7

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


#8

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:


#9

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

Thanks You for your support and suggessions.


#10

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


#11

Sure

Thanks,
Vikram Mahit


#12

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