Package com.codeborne.selenide.ex
Class SelenideErrorFormatter
java.lang.Object
com.codeborne.selenide.ex.SelenideErrorFormatter
- All Implemented Interfaces:
ErrorFormatter
- Direct Known Subclasses:
ErrorFormatterWithPageUrl,ErrorFormatterWithVideoUrl
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactualValue(WebElementCondition condition, Driver driver, @Nullable org.openqa.selenium.WebElement element, @Nullable CheckResult lastCheckResult) generateErrorDetails(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
public String generateErrorDetails(AssertionError error, Driver driver, Screenshot screenshot, long timeoutMs) - Specified by:
generateErrorDetailsin interfaceErrorFormatter
-
timeout
-
actualValue
public String actualValue(WebElementCondition condition, Driver driver, @Nullable org.openqa.selenium.WebElement element, @Nullable CheckResult lastCheckResult) - Specified by:
actualValuein interfaceErrorFormatter
-
causedBy
- Specified by:
causedByin interfaceErrorFormatter
-