Interface SupportsSystemPortOption<T extends BaseOptions<T>>

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

public interface SupportsSystemPortOption<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 number of the port for the internal server to listen on.
    default T
    setSystemPort(int port)
    The number of the port for the internal server to listen on.

    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

    • setSystemPort

      default T setSystemPort(int port)
      The number of the port for the internal server to listen on. If not provided then Mac2Driver will use the default port 10100.
      Parameters:
      port - port number in range 0..65535
      Returns:
      self instance for chaining.
    • getSystemPort

      default Optional<Integer> getSystemPort()
      Get the number of the port for the internal server to listen on.
      Returns:
      System port value.