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 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
public String generateErrorDetails(AssertionError error, Driver driver, Screenshot screenshot, long timeoutMs) - Specified by:
generateErrorDetails
in interfaceErrorFormatter
-
timeout
-
actualValue
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
-