There is no step branching available for WebDriver monitor. This means that you cannot be executing the Selenium commands conditionally. You need to employ
Do not to let your
try/catchblock, possibly using
console.logfunction to log the exception. This way the monitor run would not be interrupted and you’d see the console messages in the check details view.