Dealing with Element that may not exist

I’m trying to think in a way to handle a element that may not exist during the execution.

The cenario is: If the element exist (in a timeout of 30 ms, for exeample), you press the ok button of it. If it doesnt exists, just continue the normal execution.

I can figure out some solutions, with a continue on error + if else clauses, but it doenst fells like the best solution.

Any suggestions?

Use an Element Exists activity followed by an If activity. If the element exists you can press the OK button otherwise you can just continue.

1 Like