function: optionalClick - egroise/uxtest GitHub Wiki

###Usage

optionalClick(pattern)
-or-
oClick(pattern)

It's like the original click, but this one does not raise any error if pattern is not found.

###Parameters

  • pattern: Perform a left mouse click on the given pattern

###Example

optionalClick("StartButton.png")