Hi. Newbie here. I tried my first webscrap and immediately ran into an error relating to the website url. Can anyone tell me where I have gone wrong?
Main has thrown an exception
Message: Cannot find the UI element corresponding to this selector:
Source: Attach Browser ‘financial Page’
Exception Type: SelectorNotFoundException
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.UiBrowserClass.Find(String bstrSelector)
at UiPath.Core.Browser.Find(Selector selector)
— 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)
Actually the problem is when you are using Attache browser activity then you have to indicate on that webpage area not while IE window.
Second thing the problem is related with Selectors so will you please share that selector here so will be able to tell you the exact reason.
You can also share steps or your sample workflow here.
What i said above in the following post was the only reason i guess. i have faced such problem in my earlier days.
and from your screen shot i can see that you have indicate the whole chrome browser with “attach browser” activity so reindicate with only that container of a tab.
@Bharti_sanghmitrause open browser activity in this output property create variable(chrome_session) and use attach browser in attach browser inside input property there is Browser here pass variable created in open browser (chrome_session)