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
    Modifier and Type
    Field
    Description
    static final String
     
  • Method Summary

    Modifier and Type
    Method
    Description
    default Optional<Boolean>
    Get whether to enable native taps in web view mode.
    default T
    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

    Methods inherited from interface org.openqa.selenium.Capabilities

    asMap, get, getBrowserName, getBrowserVersion, getCapability, getCapabilityNames, getPlatformName, is, merge, required
  • Field Details

  • Method Details

    • 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 Optional<Boolean> doesNativeWebTap()
      Get whether to enable native taps in web view mode.
      Returns:
      True or false.