Interface SupportsSystemHostOption<T extends BaseOptions<T>>
-
- All Superinterfaces:
CanSetCapability<T>
,org.openqa.selenium.Capabilities
,java.io.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 java.lang.String
SYSTEM_HOST_OPTION
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default java.util.Optional<java.lang.String>
getSystemHost()
Get the name of the host for the internal server to listen on.default T
setSystemHost(java.lang.String host)
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
-
-
-
-
Field Detail
-
SYSTEM_HOST_OPTION
static final java.lang.String SYSTEM_HOST_OPTION
- See Also:
- Constant Field Values
-
-
Method Detail
-
setSystemHost
default T setSystemHost(java.lang.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 java.util.Optional<java.lang.String> getSystemHost()
Get the name of the host for the internal server to listen on.- Returns:
- System host value.
-
-