Interface SupportsWebviewDevtoolsPortOption<T extends BaseOptions<T>>
- All Superinterfaces:
CanSetCapability<T>,org.openqa.selenium.Capabilities,Serializable
- All Known Implementing Classes:
EspressoOptions,UiAutomator2Options
public interface SupportsWebviewDevtoolsPortOption<T extends BaseOptions<T>>
extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionGet the local port number to use for devtools communication.default TsetWebviewDevtoolsPort(int port) The local port number to use for devtools communication.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
-
WEBVIEW_DEVTOOLS_PORT_OPTION
- See Also:
-
-
Method Details
-
setWebviewDevtoolsPort
The local port number to use for devtools communication. By default, the first free port from 10900..11000 range is selected. Consider setting the custom value if you are running parallel tests.- Parameters:
port- port number in range 0..65535- Returns:
- self instance for chaining.
-
getWebviewDevtoolsPort
Get the local port number to use for devtools communication.- Returns:
- Port number.
-