330331332333334335336337
if (!exists(element)) { throw new ElementNotFound(getSearchCriteria(), condition, timeoutMs); } else { throw new ElementShould(getSearchCriteria(), prefix, condition, element, timeoutMs); } }
331332333334335336337338
520521522523524525526527
} else if (!exists(element)) { return throwElementNotFound(condition, timeoutMs); } else { throw new ElementShould(getSearchCriteria(), prefix, message, condition, element, lastError, timeoutMs); } }
315316317318319320321322
439440441442443444445446
} else if (!exists(element)) { throw new ElementNotFound(getSearchCriteria(), condition, lastError, timeoutMs); } else { throw new ElementShould(getSearchCriteria(), prefix, condition, element, lastError, timeoutMs); } }
451452453454455456457458
} else if (!exists(element)) { return throwElementNotFound(condition, timeoutMs); } else { throw new ElementShould(getSearchCriteria(), prefix, condition, element, lastError, timeoutMs); } }
323324325326327328329330
555556557558559560561562