Element exists activity always return true


I’m using an “Element exists” activity on a custom application to detect if a button is there and to click on it if it’s the case but even if the button is not there, the activity return “True”. Of course my processus it’s not working because the bot is trying to click on a button that doesn’t exit.

A little a test by using the Screen Scraper Wizard with the method FullText directly on the window and I can see the label of my button in the result preview even is the button is not there. If I check “Ignore hidden” I’m not able to find it anymore.

So in the selector of “Element exists” I tried to add “visibility=‘1’” but it’s not working, it’s returning false even if the button exists.

Any idea ? :slight_smile:

what about using “Find Element” activity with “Wait Visible” option set to TRUE?



Thank you I didn’t think about this. I was too focus on “element exists”.

I added a try/catch around it and I put a lower timeout.

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