Interface SupportsPrintPageSourceOnFindFailureOption<T extends BaseOptions<T>>
- All Superinterfaces:
CanSetCapability<T>,org.openqa.selenium.Capabilities,Serializable
- All Known Implementing Classes:
BaseOptions,ChromiumOptions,EspressoOptions,FlutterDriverOptions,GeckoOptions,Mac2Options,SafariOptions,UiAutomator2Options,WindowsOptions,XCUITestOptions
public interface SupportsPrintPageSourceOnFindFailureOption<T extends BaseOptions<T>>
extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionGet whether the app to print page source when a find operation fails.default TSet the app to print page source when a find operation fails.default TsetPrintPageSourceOnFindFailure(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, setCapabilityMethods inherited from interface org.openqa.selenium.Capabilities
asMap, get, getBrowserName, getBrowserVersion, getCapability, getCapabilityNames, getPlatformName, is, merge, required
-
Field Details
-
PRINT_PAGE_SOURCE_ON_FIND_FAILURE_OPTION
- See Also:
-
-
Method Details
-
printPageSourceOnFindFailure
Set the app to print page source when a find operation fails.- Returns:
- self instance for chaining.
-
setPrintPageSourceOnFindFailure
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
Get whether the app to print page source when a find operation fails.- Returns:
- true if app prints page source.
-