Package com.codeborne.selenide.ex
Class ElementNotFound
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Error
-
- java.lang.AssertionError
-
- com.codeborne.selenide.ex.UIAssertionError
-
- com.codeborne.selenide.ex.ElementNotFound
-
- All Implemented Interfaces:
java.io.Serializable
public class ElementNotFound extends UIAssertionError
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.codeborne.selenide.ex.UIAssertionError
timeoutMs
-
-
Constructor Summary
Constructors Constructor Description ElementNotFound(Driver driver, java.lang.String searchCriteria, Condition expectedCondition)ElementNotFound(Driver driver, java.lang.String searchCriteria, Condition expectedCondition, java.lang.Throwable lastError)ElementNotFound(Driver driver, org.openqa.selenium.By searchCriteria, Condition expectedCondition)ElementNotFound(WebElementsCollection collection, java.lang.String description, java.lang.Throwable lastError)ElementNotFound(WebElementsCollection collection, java.util.List<java.lang.String> expectedTexts, java.lang.Throwable lastError)
-
Method Summary
-
Methods inherited from class com.codeborne.selenide.ex.UIAssertionError
getMessage, getScreenshot, toString, uiDetails, wrap
-
-
-
-
Constructor Detail
-
ElementNotFound
public ElementNotFound(Driver driver, org.openqa.selenium.By searchCriteria, Condition expectedCondition)
-
ElementNotFound
public ElementNotFound(Driver driver, java.lang.String searchCriteria, Condition expectedCondition)
-
ElementNotFound
public ElementNotFound(Driver driver, java.lang.String searchCriteria, Condition expectedCondition, java.lang.Throwable lastError)
-
ElementNotFound
public ElementNotFound(WebElementsCollection collection, java.util.List<java.lang.String> expectedTexts, java.lang.Throwable lastError)
-
ElementNotFound
public ElementNotFound(WebElementsCollection collection, java.lang.String description, @Nullable java.lang.Throwable lastError)
-
-