remove unnecessary newline
add support for the new unexpectedAlertBehaviour capability