Package com.codeborne.selenide.ex.custom
Class ErrorFormatterWithPageUrl
java.lang.Object
com.codeborne.selenide.ex.SelenideErrorFormatter
com.codeborne.selenide.ex.custom.ErrorFormatterWithPageUrl
- All Implemented Interfaces:
ErrorFormatter
@ParametersAreNonnullByDefault
public class ErrorFormatterWithPageUrl
extends SelenideErrorFormatter
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongenerateErrorDetails
(AssertionError error, Driver driver, Screenshot screenshot, long timeoutMs) protected String
Methods inherited from class com.codeborne.selenide.ex.SelenideErrorFormatter
actualValue, causedBy, timeout
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
-
ErrorFormatterWithPageUrl
public ErrorFormatterWithPageUrl()
-
-
Method Details
-
generateErrorDetails
@Nonnull public String generateErrorDetails(AssertionError error, Driver driver, Screenshot screenshot, long timeoutMs) - Specified by:
generateErrorDetails
in interfaceErrorFormatter
- Overrides:
generateErrorDetails
in classSelenideErrorFormatter
-
pageUrl
-