@loginerror Suddenly getting this error, I’ve tried all.
All my version:
IE version
Error:
RemoteException wrapping UiPath.Core.BrowserOperationException: Cannot communicate with Internet Explorer browser. —> RemoteException wrapping 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, CommMethod startBrowserMechanism, 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)
UiPath technical team has suggested as below:
For me it still didnt work, will update once i find a fix for this issue, meanwhile please go ahead and try.
Select one of those two options and the next run of the workflow will be successful
Implement one of the solutions below:
a. Make sure the workflow contains a “Close Application” that is closing Internet Explorer when the job is complete.
b. Set Internet Explorer to open the web pages in new tabs of the same instance instead of opening new instance for each page. This can be done from Internet Explorer by going to Tools → Internet Options → Settings and set “Start with tabs from the last session” under Startup section. However, a “Close Application” activity should exist at some point in the workflow because when too many tabs will be open the same error may occur
open an elevated command line (cmd.exe with admin rights) and execute:
regsvr32 C:\Windows\System32\oleacc.dll
regsvr32 C:\Windows\System32\oleaut32.dll
regsvr32 C:\Windows\SysWOW64\oleacc.dll
regsvr32 C:\Windows\SysWOW64\oleaut32.dll
Other Troubleshooting Steps
Check with your System admin team if there were any patches that were pushed to your system. A previous situation was reported when an update that was pushed and that was prohibiting the communication to the browser, once the regedit entry for the update was deleted everything was back to normal.
Reset Internet Explorer
a. Click Start, please type “inetcpl.cpl” (without quotation marks) in the Start Search bar and press Enter to open the Internet options window.
b. Switch to the Advanced tab.
c. Click the Reset Internet Explorer Settings button
d. Click Reset to confirm the operation.
e. Click Close when the resetting process finished
f. Uncheck Enable third-party browser extensions option in the Settings box.
g. Click Apply, click OK.
Confirm with Internal IT Team that you don’t have internal security policies/group policies triggered when Studio/Robot is accessing internet
Check with Internal IT Team if any antivirus program interferes with IE
Open IE → Tools->Internet Options ->Security tab → Custom level button → Scripting → Allow active scripting
Add the website you are accessing to Trusted Sites in Internet Explorer (Open IE → Tools → Internet Options- > Security Tab → Trusted Sites → Sites → Add)
reset IE browser settings: Tools > Internet Options > Advanced > Reset …
you can also uninstall any Addons: Tools > Internet Options > Programs > Manage add-ons
Uninstall and reinstall IE browser: Control Panel > Uninstall a program > Turn Windows features on or off > Internet Explorer 11
Open IE → Tools → Internet Options- > Security Tab → uncheck “Enable Protected Mode” if checked
Workarounds:
Using hotkeys:
Step 1: Enter Win+r using hotkeys
Step 2: Enter “iexplore.exe” or even the entire URL
Step 3: Click OK
@sebas0910, The technical team suggested to use on element appear activity or find element.
However my solution is:
1 Use the UiPath.Core.Activities.StartProcess to start Internet explorer exe file from program files.
2 Send Url as argument eg “www.abc.com”
3 Use on element appear to check if the home page is loaded.
4 Attach browser and use the browser variable to pass to other workflows.