Interface SupportsWebSocketUrlOption<T extends BaseOptions<T>>
- All Superinterfaces:
CanSetCapability<T>,org.openqa.selenium.Capabilities,Serializable
- All Known Implementing Classes:
BaseOptions,ChromiumOptions,EspressoOptions,FlutterDriverOptions,GeckoOptions,Mac2Options,SafariOptions,UiAutomator2Options,WindowsOptions,XCUITestOptions
public interface SupportsWebSocketUrlOption<T extends BaseOptions<T>>
extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondefault TEnable BiDi session support.For input capabilities: whether enable BiDi session support is enabled.default TsetWebSocketUrl(boolean value) Whether to enable BiDi session support.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
-
WEB_SOCKET_URL
- See Also:
-
-
Method Details
-
enableBiDi
Enable BiDi session support.- Returns:
- self instance for chaining.
-
setWebSocketUrl
Whether to enable BiDi session support.- Returns:
- self instance for chaining.
-
getWebSocketUrl
For input capabilities: whether enable BiDi session support is enabled. For session creation response capabilities: BiDi web socket URL.- Returns:
- If called on request capabilities if BiDi support is enabled for the driver session
-