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