when i test selector always pick invisible element, there is some invisible element and button, i want to ignore invisible element. can i set something like “visible=‘true’” in the selector to filter out the visible?
Welcome to the community
That depends on what property is different ..if there is a visible property then you can use..to understand what properties are there indicate the element in ui explorer and check the properties present for it and see the difference between the property of visible element and invisible element..sometimes isleaf or class also is used to set visibility
Cheerd
You can try using aaname property if it is available as it is the most durable property of element as per my experience.
Hi @wlinpink
Kindly explore the selector using uiexplorer. That way you will be able to see if there is any such property like visible or aria-disabled that is connected to the visibility of that element.
You should be working in modern. Assuming you are, the activity properties have settings for visibility. It’s not part of the selector. It’s a setting in the activity properties.