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 -
Method Summary
Modifier and TypeMethodDescriptionGet the name of the host for the internal server to listen on.default TsetSystemHost(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, setCapabilityMethods inherited from interface org.openqa.selenium.Capabilities
asMap, get, getBrowserName, getBrowserVersion, getCapability, getCapabilityNames, getPlatformName, is, merge, required
-
Field Details
-
SYSTEM_HOST_OPTION
- See Also:
-
-
Method Details
-
setSystemHost
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
Get the name of the host for the internal server to listen on.- Returns:
- System host value.
-