Interface SupportsIncludeSafariInWebviewsOption<T extends BaseOptions<T>>
- All Superinterfaces:
CanSetCapability<T>,org.openqa.selenium.Capabilities,Serializable
- All Known Implementing Classes:
XCUITestOptions
public interface SupportsIncludeSafariInWebviewsOption<T extends BaseOptions<T>>
extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionGet whether to add Safari web views to the list of contexts available during a native/webview app test.default TEnforces Safari web views to be added to the list of contexts available during a native/webview app test.default TsetIncludeSafariInWebviews(boolean value) Add Safari web contexts to the list of contexts available during a native/webview app test.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
-
INCLUDE_SAFARI_IN_WEBVIEWS_OPTION
- See Also:
-
-
Method Details
-
includeSafariInWebviews
Enforces Safari web views to be added to the list of contexts available during a native/webview app test.- Returns:
- self instance for chaining.
-
setIncludeSafariInWebviews
Add Safari web contexts to the list of contexts available during a native/webview app test. This is useful if the test opens Safari and needs to be able to interact with it. Defaults to false.- Parameters:
value- Whether to add Safari to the list of contexts available during a native/webview app test.- Returns:
- self instance for chaining.
-
doesIncludeSafariInWebviews
Get whether to add Safari web views to the list of contexts available during a native/webview app test.- Returns:
- True or false.
-