412413414415416417418419
} else if (!exists(element)) { throw new ElementNotFound(getSearchCriteria(), condition, lastError, timeoutMs); } else { throw new ElementShould(getSearchCriteria(), prefix, condition, element, lastError, timeoutMs); } }
405406407408409410411412
if (!exists(element)) { throw new ElementNotFound(getSearchCriteria(), condition, timeoutMs); } else { throw new ElementShould(getSearchCriteria(), prefix, condition, element, timeoutMs); } }
333334335336337338339340
484485486487488489490491
} else if (!exists(element)) { return throwElementNotFound(condition, timeoutMs); } else { throw new ElementShould(getSearchCriteria(), prefix, condition, element, lastError, timeoutMs); } }