300301302303304305306307
if (!isDisplayed(element)) { throw new ElementNotFound(toString(), condition, timeoutMs); } else { throw new ElementMismatch(toString(), condition, element, timeoutMs); } }
278279280281282283284285
if (element == null) { throw new ElementNotFound(toString(), condition, timeoutMs); } else { throw new ElementMismatch(toString(), condition, element, timeoutMs); } }