361362363364365366367368
if (!exists(element)) { throw new ElementNotFound(getSearchCriteria(), not(condition), timeoutMs); } else { throw new ElementShouldNot(getSearchCriteria(), prefix, condition, element, timeoutMs); } }
363364365366367368369370
567568569570571572573574
} else if (!exists(element)) { throwElementNotFound(not(condition), timeoutMs); } else { throw new ElementShouldNot(getSearchCriteria(), prefix, message, condition, element, lastError, timeoutMs); } }
347348349350351352353354
479480481482483484485486
} else if (!exists(element)) { throw new ElementNotFound(getSearchCriteria(), not(condition), lastError, timeoutMs); } else { throw new ElementShouldNot(getSearchCriteria(), prefix, condition, element, lastError, timeoutMs); } }
495496497498499500501502
} else if (!exists(element)) { throwElementNotFound(not(condition), timeoutMs); } else { throw new ElementShouldNot(getSearchCriteria(), prefix, condition, element, lastError, timeoutMs); } }
483484485486487488489490
355356357358359360361362
362363364365366367368369
602603604605606607608609