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
public class UIAssertionError
extends org.opentest4j.AssertionFailedError
- See Also:
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
UIAssertionError
(String message) protected
UIAssertionError
(String message, long timeoutMs, @Nullable Throwable cause) UIAssertionError
(String message, @Nullable Object expected, @Nullable Object actual) protected
UIAssertionError
(String message, @Nullable Object expected, @Nullable Object actual, long timeoutMs) protected
UIAssertionError
(String message, @Nullable Object expected, @Nullable Object actual, @Nullable Throwable cause) protected
UIAssertionError
(String message, @Nullable Object expected, @Nullable Object actual, @Nullable Throwable cause, long timeoutMs) protected
UIAssertionError
(String message, @Nullable 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
-