Package com.codeborne.selenide.ex
Class SelenideErrorFormatter
java.lang.Object
com.codeborne.selenide.ex.SelenideErrorFormatter
- All Implemented Interfaces:
ErrorFormatter
- Direct Known Subclasses:
ErrorFormatterWithPageUrl
@ParametersAreNonnullByDefault
public class SelenideErrorFormatter
extends Object
implements ErrorFormatter
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionactualValue
(WebElementCondition condition, Driver driver, org.openqa.selenium.WebElement element, CheckResult lastCheckResult) generateErrorDetails
(AssertionError error, Driver driver, Screenshot screenshot, long timeoutMs) protected String
timeout
(long timeoutMs) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.codeborne.selenide.ex.ErrorFormatter
formatActualValue
-
Constructor Details
-
SelenideErrorFormatter
public SelenideErrorFormatter()
-
-
Method Details
-
generateErrorDetails
@CheckReturnValue @Nonnull public String generateErrorDetails(AssertionError error, Driver driver, Screenshot screenshot, long timeoutMs) - Specified by:
generateErrorDetails
in interfaceErrorFormatter
-
timeout
-
actualValue
@CheckReturnValue @Nonnull public String actualValue(WebElementCondition condition, Driver driver, @Nullable org.openqa.selenium.WebElement element, @Nullable CheckResult lastCheckResult) - Specified by:
actualValue
in interfaceErrorFormatter
-
causedBy
- Specified by:
causedBy
in interfaceErrorFormatter
-