public interface SupportsPrintPageSourceOnFindFailureOption<T extends BaseOptions<T>> extends org.openqa.selenium.Capabilities, CanSetCapability<T>
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PRINT_PAGE_SOURCE_ON_FIND_FAILURE_OPTION |
Modifier and Type | Method and Description |
---|---|
default java.util.Optional<java.lang.Boolean> |
doesPrintPageSourceOnFindFailure()
Get whether the app to print page source when a find operation fails.
|
default T |
printPageSourceOnFindFailure()
Set the app to print page source when a find operation fails.
|
default T |
setPrintPageSourceOnFindFailure(boolean bool)
Set whether the app to print page source when a find operation fails.
|
asMap, getBrowserName, getBrowserVersion, getCapability, getCapabilityNames, getPlatformName, is, merge
amend, setCapability
static final java.lang.String PRINT_PAGE_SOURCE_ON_FIND_FAILURE_OPTION
default T printPageSourceOnFindFailure()
default T setPrintPageSourceOnFindFailure(boolean bool)
bool
- is whether to print page source.default java.util.Optional<java.lang.Boolean> doesPrintPageSourceOnFindFailure()