I am using selectors as strings due to elements being dynamic and i need to add custom attributes in the selectors. But when i use the * operator in string selector it’s throwing error. Does UiPath not recognize * operator when using selector as string. And if not is there a workaround for this?
Your selector itself looks okay, but with the url variable we cannot validate it with you, and this is most likely the issue
What is the error that is being thrown? This would evaluate the final selector for you, and I’d examine this, could even put it in a highlight activity to help you to investigate if you don’t want to necessarily click or whichever action you are doing is.
As i checked when the URL hits, additional string is added to the site on complete page load for example if the URL is www.abc.com it becomes www.abc.com/overview. But the original url part is still included in it. Now when i’m using this selector
there’s an error saying couldn’t find element
And also highlight activity wouldn’t work with one of the image element because the element i’m trying to find is a loader with tag of img. so in it’s selector i wrote as i mentioned above selector with proper id and tag in the wait element vanish activity. But if i mention the url in selector it won’t find the element but when i remove url it’s able to find it. But this is a problem because in case of multiple browsers it will throw error.
This is the selector