Interface SupportsSystemHostOption<T extends BaseOptions<T>>

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

public interface SupportsSystemHostOption<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<String>
    Get the name of the host for the internal server to listen on.
    default T
    The name of the host 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

    • setSystemHost

      default T setSystemHost(String host)
      The name of the host for the internal server to listen on. If not provided then Mac2Driver will use the default host address 127.0.0.1. You could set it to 0.0.0.0 to make the server listening on all available network interfaces. It is also possible to set the particular interface name, for example en1.
      Parameters:
      host - Host name.
      Returns:
      self instance for chaining.
    • getSystemHost

      default Optional<String> getSystemHost()
      Get the name of the host for the internal server to listen on.
      Returns:
      System host value.