What is the use of adding or removing attributes to a selector in the ui explorer?

I was doing the selectors deep dive course practice, the course required me to filter using the find children module. The filter was to check if the values had an innertext of “WI1” for example, there were a lot of values; each value had innertext unticked. I was under the impression that I needed to tick every single expression to make the process work, but it still worked. Does that mean I don’t need to add or remove attributes in my selectors? What is the use of UI explorer? What is the use of adding or removing attributes?

Thank you so much,

Hi @Blox_master_Playz

Check out this YouTube video. You will get a full idea on Selectors.

Check out the documentation too

Regards

The original selector that it gives you won’t always be reliable. You add/remove properties to make the selector more reliable. You don’t need to use every property, just the properties that make the selector reliably identify a unique element. For example, usually in a web page all you need is the aaname property because that’s a unique value for each object on a web page that shouldn’t change. One of the most important parts of crafting a reliable selector is making sure you use properties that don’t ever change. When UiPath is generating a selector it can’t know if something changes or not, it only knows what the properties are right now.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.