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
-
Constructor Summary
ConstructorDescriptionElementNotFound
(Alias alias, String searchCriteria, WebElementCondition expectedCondition) ElementNotFound
(Alias alias, String searchCriteria, WebElementCondition expectedCondition, Throwable cause) ElementNotFound
(Alias alias, org.openqa.selenium.By searchCriteria, WebElementCondition expectedCondition) ElementNotFound
(CollectionSource collection, String description, long timeoutMs, Throwable cause) ElementNotFound
(CollectionSource collection, List<String> expectedTexts, Throwable cause) -
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
public ElementNotFound(Alias alias, org.openqa.selenium.By searchCriteria, WebElementCondition expectedCondition) -
ElementNotFound
-
ElementNotFound
public ElementNotFound(Alias alias, String searchCriteria, WebElementCondition expectedCondition, @Nullable Throwable cause) -
ElementNotFound
public ElementNotFound(CollectionSource collection, List<String> expectedTexts, @Nullable Throwable cause) -
ElementNotFound
public ElementNotFound(CollectionSource collection, String description, long timeoutMs, @Nullable Throwable cause)
-