An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is:
UiPath.Core.SelectorNotFoundException: Cannot find the UI element corresponding to this selector: ----> System.Runtime.InteropServices.COMException: Cannot find the UI element corresponding to this selector:
at UiPath.UiNodeClass.FindFirst(UiFindScope scope, String nodeID)
at UiPath.Core.UiElement.FindFirst(FindScope scope, Selector selector)
— End of inner ExceptionDetail 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)
If you are trying to open a web page, you will need to use Open browser activity
Attach window does not open a web page, but it will only activate a web page which is already open based on the selector. So, when using attach window, you will need to keep the web page open.
I am having a similar error message but it happens when I try to close the browser by clicking on the LOG OUT button located on the website.
This was working fine until a couple of days ago.
Thanks for your request and try to help me Nived, this was very nice of you.
After reviewing a few videos, I was able to pinpoint my issue.
I remoted a defined text related to that particular button and added an * and my issue was resolved.
Thanks again.
Remove the css-selector attribute from selector and check it once. And also use stable attributes into selector. So that it will work for all elements.
Use stable attributes into your selector. Post that check whether selector is properly identifying that element in the application or not by clicking Validate Element option in UiExplorer window.
Use Browser Chrome: New Tab: Could not find the UI element corresponding to this selector: <html app='chrome.exe' url='https://ttsm-002-sit.traxtech.com'/> The closest matches found are: [65%] <html app='chrome.exe' url='chrome://downloads/'/>