Package com.codeborne.selenide.ex
Class SelenideErrorFormatter
java.lang.Object
com.codeborne.selenide.ex.SelenideErrorFormatter
- All Implemented Interfaces:
ErrorFormatter
@ParametersAreNonnullByDefault
public class SelenideErrorFormatter
extends Object
implements ErrorFormatter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactualValue(WebElementCondition condition, Driver driver, org.openqa.selenium.WebElement element, CheckResult lastCheckResult) protected StringgenerateErrorDetails(AssertionError error, Driver driver, Screenshot screenshot, long timeoutMs) protected Stringtimeout(long timeoutMs) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
generateErrorDetailsin interfaceErrorFormatter
-
timeout
-
actualValue
@CheckReturnValue @Nonnull public String actualValue(WebElementCondition condition, Driver driver, @Nullable org.openqa.selenium.WebElement element, @Nullable CheckResult lastCheckResult) - Specified by:
actualValuein interfaceErrorFormatter
-
causedBy
-