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.
Regards…!!
Hi. I am using the communit version. I don’t know if I have installed packages or not - that answer is probably know to that. How do I install them? I hope I have shared the right picture.
Hi. I am using Chrome as the Browser for scrapping and I have Uipath extension for it loaded. Here is a screen shot of my process (or what I believe to be my process)
You can install and updates packages from package manager. you will find this in Activities Bar . above the search bar for activities in the end. You have to expand your left sidebar to see it.
If you are Using Letest Version then you can use this Shortcut Key To open package manager ctrl+p
Can you share your workflow or may be url something you are trying and on which section?
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)
Plz explain why need to create variable for browser?
and why still it is not working.
created a variable in output
use attach browser in attach browser inside input property there is Browser here pass variable created → throwing error Overloaded groups are configured
@Bharti_sanghmitra If you create variable than you can use that variable in attach browser,close browser…can you share the selector code which is in attach browser
How can i remove it ? whenever i start recording it comes first inside that other activities are. If i remove attach browser other recorded activities also get erased.