Hey folks,
I’m a bit new to UiPath but I have a few years programming experience (not VB/C#).
I’ve been testing out studio by building out a sample bot that iterates through a list of ids and navigates to a its respective profile page, grabs some data and writes back somewhere. I’ve found that traditional selectors are unreliable eg. Get Full Text. I tried out Anchor Base and it seems to reliably get the correct information. It works but it’s slow. This is compounded by the fact that I’m re-adding anchors for each profile page visited. Is this the correct way to do this? Is there some way to re-use the anchors once they’ve been added?
If it were written in code, it would look like:
// return reference to an anchor already made
const anchorRef = useAnchor(anchorToUse)
anchorRef(activityToRun)
// instead of
for(let x = 0; x < someCollection.length; x++){
const newAnchor = createNewAnchor()
newAnchor(activityToRun)
}
This is what it looks like in studio: