Interface SupportsChromeDrivePortOption<T extends BaseOptions<T>>
- All Superinterfaces:
CanSetCapability<T>,org.openqa.selenium.Capabilities,Serializable
- All Known Implementing Classes:
ChromiumOptions
public interface SupportsChromeDrivePortOption<T extends BaseOptions<T>>
extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionGet the number of the port for the chrome driver to listen on.default TsetChromeDriverPort(int port) The port to start WebDriver processes 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
-
CHROME_DRIVER_PORT
- See Also:
-
-
Method Details
-
setChromeDriverPort
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
Get the number of the port for the chrome driver to listen on.- Returns:
- Chrome driver port value.
-