Element Exist not working

Hi team, I am trying to use ‘Element Exist’ activity in order to identify read and unread mail for specific website inbox, but when I use If condition it doesn’t work, any lead would be much appreciated.
Thanks in advance,
Happy Independence day

mind sharing screenshots of your flow showing the element exits activity and the if?

1 Like

in between the element exits and the if activity, put a message box activity and copy that condition statement you have in your if paste it in the message box and see if it ever print out true

1 Like

@SenzoD Yes, Its printing TRUE.

@SenzoD That is the issue, even there in no UNREAD mail in the Inbox but still goes through that condition to find Unread mail UI element.

i’m not sure if your solution is best for what you are trying to do, nonetheless, you need to manually observe if something changes in the selectors used by element exists activity when there are no read mails and when there are not and adjust your selectors accordingly

1 Like

@SenzoD Alright, thank you for your response, I will try and let you know.

1 Like