Interface SupportsWdaLocalPortOption<T extends BaseOptions<T>>

    • Method Summary

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default java.util.Optional<java.lang.Integer> getWdaLocalPort()
      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 org.openqa.selenium.Capabilities

        asMap, getBrowserName, getBrowserVersion, getCapability, getCapabilityNames, getPlatform, getPlatformName, getVersion, is, merge
    • Field Detail

      • WDA_LOCAL_PORT_OPTION

        static final java.lang.String WDA_LOCAL_PORT_OPTION
        See Also:
        Constant Field Values
    • Method Detail

      • 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 java.util.Optional<java.lang.Integer> getWdaLocalPort()
        Get the local port number where the WDA traffic is being forwarded.
        Returns:
        The port number.