Package com.codeborne.selenide.ex
Class UIAssertionError
java.lang.Object
java.lang.Throwable
java.lang.Error
java.lang.AssertionError
org.opentest4j.AssertionFailedError
com.codeborne.selenide.ex.UIAssertionError
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AlertNotFoundException
,AttributesMismatch
,AttributesSizeMismatch
,ConditionMetException
,ConditionNotMetException
,DialogTextMismatch
,DoesNotContainTextsError
,ElementIsNotClickableException
,ElementNotFound
,ElementShould
,ElementShouldNot
,ElementWithTextNotFound
,FrameNotFoundException
,InvalidStateException
,ListSizeMismatch
,MatcherError
,TextsMismatch
,TextsSizeMismatch
,WindowNotFoundException
@ParametersAreNonnullByDefault
public class UIAssertionError
extends org.opentest4j.AssertionFailedError
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
UIAssertionError
(Driver driver, String message) protected
UIAssertionError
(Driver driver, String message, long timeoutMs, Throwable cause) protected
UIAssertionError
(Driver driver, String message, Object expected, Object actual) protected
UIAssertionError
(Driver driver, String message, Object expected, Object actual, long timeoutMs) protected
protected
UIAssertionError
(Driver driver, String message, Object expected, Object actual, Throwable cause, long timeoutMs) protected
UIAssertionError
(Driver driver, String message, Throwable cause) -
Method Summary
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
-
Field Details
-
errorFormatter
-
-
Constructor Details
-
UIAssertionError
-
UIAssertionError
-
UIAssertionError
-
UIAssertionError
-
UIAssertionError
-
UIAssertionError
-
UIAssertionError
-
-
Method Details
-
getMessage
- Overrides:
getMessage
in classThrowable
-
toString
- Overrides:
toString
in classorg.opentest4j.AssertionFailedError
-
getScreenshot
Get path to screenshot taken after failed test- Returns:
- empty string if screenshots are disabled
-
wrap
-
wrap
-