Interface SupportsNativeWebTapOption<T extends BaseOptions<T>>

    • 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 org.openqa.selenium.Capabilities

        asMap, getBrowserName, getBrowserVersion, getCapability, getCapabilityNames, getPlatform, getPlatformName, getVersion, is, merge
    • 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.