public interface SupportsSystemPortOption<T extends BaseOptions<T>> extends org.openqa.selenium.Capabilities, CanSetCapability<T>
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
SYSTEM_PORT_OPTION |
Modifier and Type | Method and Description |
---|---|
default java.util.Optional<java.lang.Integer> |
getSystemPort()
Get the system port value.
|
default T |
setSystemPort(int port)
The number of the port the UiAutomator2 or Espresso server is listening on.
|
asMap, getBrowserName, getBrowserVersion, getCapability, getCapabilityNames, getPlatformName, is, merge
amend, setCapability
static final java.lang.String SYSTEM_PORT_OPTION
default T setSystemPort(int port)
port
- port number in range 0..65535default java.util.Optional<java.lang.Integer> getSystemPort()