Package com.codeborne.selenide.ex
Interface ErrorFormatter
- All Known Implementing Classes:
ErrorFormatterWithPageUrl
,ErrorFormatterWithVideoUrl
,SelenideErrorFormatter
public interface ErrorFormatter
-
Method Summary
Modifier and TypeMethodDescriptionactualValue
(WebElementCondition condition, Driver driver, @Nullable org.openqa.selenium.WebElement element, @Nullable CheckResult lastCheckResult) default String
formatActualValue
(@Nullable String actualValue) generateErrorDetails
(AssertionError error, Driver driver, Screenshot screenshot, long timeoutMs)
-
Method Details
-
generateErrorDetails
String generateErrorDetails(AssertionError error, Driver driver, Screenshot screenshot, long timeoutMs) -
causedBy
-
formatActualValue
-
actualValue
String actualValue(WebElementCondition condition, Driver driver, @Nullable org.openqa.selenium.WebElement element, @Nullable CheckResult lastCheckResult)
-