If / else with value being a command

Hi folks,

There is a DOM element that sometimes shows up. It’s somewhat of a random click type command action. Sometimes it’s there, sometimes it’s not. So far, what the macro does it just go times out and goes on and keeps looping. This works, I suppose. But, I would like to know if there’s something more elegant. Can Kantu do an if / else thing where it checks for the existence of a DOM element, and if it’s there, perform a command like click?


Much thanks, that’s exactly what I needed.