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:
AlertNotFoundError
,AttributesMismatch
,ConditionMetError
,ConditionNotMetError
,DialogTextMismatch
,DoesNotContainTextsError
,ElementIsNotClickableError
,ElementNotFound
,ElementShould
,ElementShouldNot
,ElementWithTextNotFound
,FileNotDownloadedError
,FrameNotFoundError
,InvalidStateError
,ListSizeMismatch
,MatcherError
,TextsMismatch
,WindowNotFoundError
@ParametersAreNonnullByDefault
public class UIAssertionError
extends org.opentest4j.AssertionFailedError
- See Also:
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
UIAssertionError
(String message) protected
UIAssertionError
(String message, long timeoutMs, Throwable cause) UIAssertionError
(String message, Object expected, Object actual) protected
UIAssertionError
(String message, Object expected, Object actual, long timeoutMs) protected
UIAssertionError
(String message, Object expected, Object actual, Throwable cause) protected
UIAssertionError
(String message, Object expected, Object actual, Throwable cause, long timeoutMs) protected
UIAssertionError
(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
-