Interface SupportsPrintPageSourceOnFindFailureOption<T extends BaseOptions<T>>
-
- All Superinterfaces:
CanSetCapability<T>
,org.openqa.selenium.Capabilities
,java.io.Serializable
- All Known Implementing Classes:
BaseOptions
,ChromiumOptions
,EspressoOptions
,GeckoOptions
,Mac2Options
,SafariOptions
,UiAutomator2Options
,WindowsOptions
,XCUITestOptions
public interface SupportsPrintPageSourceOnFindFailureOption<T extends BaseOptions<T>> extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
PRINT_PAGE_SOURCE_ON_FIND_FAILURE_OPTION
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method 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.-
Methods inherited from interface io.appium.java_client.remote.options.CanSetCapability
amend, setCapability
-
-
-
-
Field Detail
-
PRINT_PAGE_SOURCE_ON_FIND_FAILURE_OPTION
static final java.lang.String PRINT_PAGE_SOURCE_ON_FIND_FAILURE_OPTION
- See Also:
- Constant Field Values
-
-
Method Detail
-
printPageSourceOnFindFailure
default T printPageSourceOnFindFailure()
Set the app to print page source when a find operation fails.- Returns:
- self instance for chaining.
-
setPrintPageSourceOnFindFailure
default T setPrintPageSourceOnFindFailure(boolean bool)
Set whether the app to print page source when a find operation fails.- Parameters:
bool
- is whether to print page source.- Returns:
- self instance for chaining.
-
doesPrintPageSourceOnFindFailure
default java.util.Optional<java.lang.Boolean> doesPrintPageSourceOnFindFailure()
Get whether the app to print page source when a find operation fails.- Returns:
- true if app prints page source.
-
-