Interface SupportsEnsureWebviewsHavePagesOption<T extends BaseOptions<T>>
- All Superinterfaces:
CanSetCapability<T>,org.openqa.selenium.Capabilities,Serializable
- All Known Implementing Classes:
EspressoOptions,UiAutomator2Options
public interface SupportsEnsureWebviewsHavePagesOption<T extends BaseOptions<T>>
extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionGet whether to ensure if web views have pages.default TSet to skip web views that have no pages from being shown in getContexts output.default TsetEnsureWebviewsHavePages(boolean value) Whether to skip web views that have no pages from being shown in getContexts output.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
-
ENSURE_WEBVIEWS_HAVE_PAGES_OPTION
- See Also:
-
-
Method Details
-
ensureWebviewsHavePages
Set to skip web views that have no pages from being shown in getContexts output.- Returns:
- self instance for chaining.
-
setEnsureWebviewsHavePages
Whether to skip web views that have no pages from being shown in getContexts output. The driver uses devtools connection to retrieve the information about existing pages. true by default since Appium 1.19.0, false if lower than 1.19.0.- Parameters:
value- Whether to ensure if web views have pages.- Returns:
- self instance for chaining.
-
doesEnsureWebviewsHavePages
Get whether to ensure if web views have pages.- Returns:
- True or false.
-