Interface SupportsNativeWebTapOption<T extends BaseOptions<T>>
-
- All Superinterfaces:
CanSetCapability<T>
,org.openqa.selenium.Capabilities
,java.io.Serializable
- All Known Implementing Classes:
XCUITestOptions
public interface SupportsNativeWebTapOption<T extends BaseOptions<T>> extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
NATIVE_WEB_TAP_OPTION
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default java.util.Optional<java.lang.Boolean>
doesNativeWebTap()
Get whether to enable native taps in web view mode.default T
nativeWebTap()
Enforces native non-javascript-based taps in web context mode.default T
setNativeWebTap(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, setCapability
-
-
-
-
Field Detail
-
NATIVE_WEB_TAP_OPTION
static final java.lang.String NATIVE_WEB_TAP_OPTION
- See Also:
- Constant Field Values
-
-
Method Detail
-
nativeWebTap
default T nativeWebTap()
Enforces native non-javascript-based taps in web context mode.- Returns:
- self instance for chaining.
-
setNativeWebTap
default T setNativeWebTap(boolean value)
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
default java.util.Optional<java.lang.Boolean> doesNativeWebTap()
Get whether to enable native taps in web view mode.- Returns:
- True or false.
-
-