Package com.codeborne.selenide.ex
Class ElementNotFound
java.lang.Object
java.lang.Throwable
java.lang.Error
java.lang.AssertionError
org.opentest4j.AssertionFailedError
com.codeborne.selenide.ex.UIAssertionError
com.codeborne.selenide.ex.ElementNotFound
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
Fields inherited from class com.codeborne.selenide.ex.UIAssertionError
errorFormatter, timeoutMs
-
Constructor Summary
ConstructorsConstructorDescriptionElementNotFound
(Driver driver, Alias alias, String searchCriteria, Condition expectedCondition) ElementNotFound
(Driver driver, Alias alias, String searchCriteria, Condition expectedCondition, Throwable lastError) ElementNotFound
(Driver driver, Alias alias, org.openqa.selenium.By searchCriteria, Condition expectedCondition) ElementNotFound
(CollectionSource collection, String description, Throwable lastError) ElementNotFound
(CollectionSource collection, List<String> expectedTexts, Throwable lastError) -
Method Summary
Methods inherited from class com.codeborne.selenide.ex.UIAssertionError
getMessage, getScreenshot, toString, wrap, wrap
Methods inherited from class org.opentest4j.AssertionFailedError
getActual, getExpected, isActualDefined, isExpectedDefined
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
ElementNotFound
-
ElementNotFound
-
ElementNotFound
-
ElementNotFound
public ElementNotFound(CollectionSource collection, List<String> expectedTexts, @Nullable Throwable lastError) -
ElementNotFound
public ElementNotFound(CollectionSource collection, String description, @Nullable Throwable lastError)
-