Interface SupportsChromeDrivePortOption<T extends BaseOptions<T>>
-
- All Superinterfaces:
CanSetCapability<T>
,org.openqa.selenium.Capabilities
,java.io.Serializable
- All Known Implementing Classes:
ChromiumOptions
public interface SupportsChromeDrivePortOption<T extends BaseOptions<T>> extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
CHROME_DRIVER_PORT
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default java.util.Optional<java.lang.Integer>
getChromeDriverPort()
Get the number of the port for the chrome driver to listen on.default T
setChromeDriverPort(int port)
The port to start WebDriver processes on.-
Methods inherited from interface io.appium.java_client.remote.options.CanSetCapability
amend, setCapability
-
-
-
-
Field Detail
-
CHROME_DRIVER_PORT
static final java.lang.String CHROME_DRIVER_PORT
- See Also:
- Constant Field Values
-
-
Method Detail
-
setChromeDriverPort
default T setChromeDriverPort(int port)
The port to start WebDriver processes on. Unless the chrome drive port preference has been user-set, it will listen on port 9515, which is the default value for this capability.- Parameters:
port
- port number in range 0..65535.- Returns:
- self instance for chaining.
-
getChromeDriverPort
default java.util.Optional<java.lang.Integer> getChromeDriverPort()
Get the number of the port for the chrome driver to listen on.- Returns:
- Chrome driver port value.
-
-