@ParametersAreNonnullByDefault
public class UIAssertionError
extends org.opentest4j.AssertionFailedError
| Modifier and Type | Field and Description |
|---|---|
long |
timeoutMs |
| Modifier | Constructor and Description |
|---|---|
protected |
UIAssertionError(java.lang.String message) |
protected |
UIAssertionError(java.lang.String message,
java.lang.Object expected,
java.lang.Object actual) |
protected |
UIAssertionError(java.lang.String message,
java.lang.Object expected,
java.lang.Object actual,
java.lang.Throwable cause) |
protected |
UIAssertionError(java.lang.String message,
java.lang.Throwable cause) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getMessage() |
Screenshot |
getScreenshot()
Get path to screenshot taken after failed test
|
java.lang.String |
toString() |
protected java.lang.String |
uiDetails() |
static java.lang.Error |
wrap(Driver driver,
java.lang.Error error,
long timeoutMs) |
static java.lang.Throwable |
wrap(Driver driver,
org.openqa.selenium.WebDriverException error,
long timeoutMs) |
getActual, getExpected, isActualDefined, isExpectedDefinedprotected UIAssertionError(java.lang.String message)
protected UIAssertionError(java.lang.String message,
@Nullable
java.lang.Object expected,
@Nullable
java.lang.Object actual)
protected UIAssertionError(java.lang.String message,
@Nullable
java.lang.Throwable cause)
protected UIAssertionError(java.lang.String message,
@Nullable
java.lang.Object expected,
@Nullable
java.lang.Object actual,
@Nullable
java.lang.Throwable cause)
@CheckReturnValue public final java.lang.String getMessage()
getMessage in class java.lang.Throwable@CheckReturnValue public final java.lang.String toString()
toString in class org.opentest4j.AssertionFailedError@CheckReturnValue protected java.lang.String uiDetails()
@CheckReturnValue public Screenshot getScreenshot()
@CheckReturnValue public static java.lang.Error wrap(Driver driver, java.lang.Error error, long timeoutMs)
@CheckReturnValue public static java.lang.Throwable wrap(Driver driver, org.openqa.selenium.WebDriverException error, long timeoutMs)