Message: Cannot find the UI element corresponding to this selector: <html app='chrome.exe

19.2.0+Branch.master.Sha.21b678a4c3a8b1362fcdd6e92496f991e5a7da37

Source: Attach Window ’ Page’

Message: Cannot find the UI element corresponding to this selector:

Exception Type: UiPath.Core.SelectorNotFoundException

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)

@mhmd_fyk,

Make sure the web page should be open at the time of bot running. Try to validate the selector once.

Hi @mhmd_fyk

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.

2 Likes

Thanks Open browser activity is working fine :grinning:

Hi @mhmd_fyk

If that works please mark the appropriate answer as the solution so that it could help others as well :slight_smile:

I just used the sequence activity with the open browser activity and it is working fine :slight_smile:

1 Like

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.

Hi @APEXRPAROBOT welcome to forum

Can u Share the screenshot of ur workflow?

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.

1 Like