Interface SupportsNativeWebTapOption<T extends BaseOptions<T>>
- All Superinterfaces:
CanSetCapability<T>,org.openqa.selenium.Capabilities,Serializable
- All Known Implementing Classes:
XCUITestOptions
public interface SupportsNativeWebTapOption<T extends BaseOptions<T>>
extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionGet whether to enable native taps in web view mode.default TEnforces native non-javascript-based taps in web context mode.default TsetNativeWebTap(boolean value) Enable native, non-javascript-based taps being in web context mode.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
-
NATIVE_WEB_TAP_OPTION
- See Also:
-
-
Method Details
-
nativeWebTap
Enforces native non-javascript-based taps in web context mode.- Returns:
- self instance for chaining.
-
setNativeWebTap
Enable native, non-javascript-based taps being in web context mode. Defaults to false. Warning: sometimes the preciseness of native taps could be broken, because there is no reliable way to map web element coordinates to native ones.- Parameters:
value- Whether to enable native taps in web view mode.- Returns:
- self instance for chaining.
-
doesNativeWebTap
Get whether to enable native taps in web view mode.- Returns:
- True or false.
-