Interface ErrorFormatter

All Known Implementing Classes:
ErrorFormatterWithPageUrl, SelenideErrorFormatter

public interface ErrorFormatter
  • Method Details

    • generateErrorDetails

      @CheckReturnValue @Nonnull String generateErrorDetails(AssertionError error, Driver driver, Screenshot screenshot, long timeoutMs)
    • causedBy

      @CheckReturnValue @Nonnull String causedBy(@Nullable Throwable cause)
    • formatActualValue

      @CheckReturnValue @Nonnull default String formatActualValue(@Nullable String actualValue)
    • actualValue

      @CheckReturnValue @Nonnull String actualValue(WebElementCondition condition, Driver driver, @Nullable org.openqa.selenium.WebElement element, @Nullable CheckResult lastCheckResult)