Element exist not working as expected because hidden element are getting as true

I want to use element exist for visible elements, based on that I will do the action in if condition, but element exist coming true for hidden element in the web page, because of that I can’t able to proceed further.

@Gopi_Krishna1,

Use Check App State instead of Element Exist. It has more advanced algorithm to identify UiElements.

Thanks,
Ashok :slight_smile:

just check if the element display is triggered by a CSS property (direct, or by a parent element)

for detecting/retrieving of the CSS Property values we can use:

Enclose a “Highlight Element” activity within a try-catch, using a highlight time close to zero seconds. The “Highlight Element” activity will throw an exception if the element does not exists, or if it isn’t visible. Catch these exceptions, and carry on!

Try check app state and which yochi has suggested

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