RemoteException wrapping System.AggregateException: One or more errors occurred. —> RemoteException wrapping System.Runtime.InteropServices.COMException: Exception from HRESULT: 0x80040214
at UiPath.UiBrowserClass.get_node()
at UiPath.Core.Browser.get_Element()
at UiPath.Core.Activities.Target.<>c__DisplayClass54_0.b__0()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
— End of inner exception stack trace —
at UiPath.Core.Activities.ScopeActivity.OnFaulted(NativeActivityFaultContext faultContext, Exception propagatedException, ActivityInstance propagatedFrom)
at System.Activities.Runtime.FaultCallbackWrapper.Invoke(NativeActivityFaultContext faultContext, Exception propagatedException, ActivityInstance propagatedFrom)
at System.Activities.Runtime.FaultCallbackWrapper.FaultWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)
Try upgrading your Ui automation packet and give a try
Go to design tab → Manage Packages → all packages → upgrade UIAutomation package
And also if you are using any browser first use ATTACH BROWSER activity and indicate that browser page and within that use your click or any Ui based activities
If not place the click activity before to that CLOSE TAB activity
Or
If it appears after closing the tab use either ATTACH BROWSER (if it’s a browser) or ATTACH WINDOW activity (if it’s a desktop application)
Within which place the click activity that is failing for u