Interface SupportsWdaLocalPortOption<T extends BaseOptions<T>>

All Superinterfaces:
CanSetCapability<T>, org.openqa.selenium.Capabilities, Serializable
All Known Implementing Classes:
XCUITestOptions

public interface SupportsWdaLocalPortOption<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<Integer>
    Get the local port number where the WDA traffic is being forwarded.
    default T
    setWdaLocalPort(int port)
    This value, if specified, will be used to forward traffic from Mac host to real ios devices over USB.

    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

    • setWdaLocalPort

      default T setWdaLocalPort(int port)
      This value, if specified, will be used to forward traffic from Mac host to real ios devices over USB. Default value is the same as the port number used by WDA on the device under test (8100).
      Parameters:
      port - port number in range 0..65535
      Returns:
      self instance for chaining.
    • getWdaLocalPort

      default Optional<Integer> getWdaLocalPort()
      Get the local port number where the WDA traffic is being forwarded.
      Returns:
      The port number.