Verify if element exists without waiting for timeout


Is there a way to verify if an element exists without waiting for the timeout?

I have to be fast and I’m already waiting for the page to load, so no need to wait for a timeout to decide whether the element is there or not.


I didn’t understand the answer. I want to check if an element is present or not without waiting. I already did the waiting in a previous command (like page load)

If the element is present instantly do A, if not, instantly do B.

Is that not possible?


Oh I see. You want verifyElementPresent

The screenshot shows exactly what you are trying to achieve combing it with the if_v2 command.