Interface SupportsWebDriverAgentUrlOption<T extends BaseOptions<T>>
-
- All Superinterfaces:
CanSetCapability<T>
,org.openqa.selenium.Capabilities
,java.io.Serializable
- All Known Implementing Classes:
XCUITestOptions
public interface SupportsWebDriverAgentUrlOption<T extends BaseOptions<T>> extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
WEB_DRIVER_AGENT_URL_OPTION
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default java.util.Optional<java.net.URL>
getWebDriverAgentUrl()
Get the WDA URL.default T
setWebDriverAgentUrl(java.lang.String url)
If provided, Appium will connect to an existing WebDriverAgent instance at this URL instead of starting a new one.default T
setWebDriverAgentUrl(java.net.URL url)
If provided, Appium will connect to an existing WebDriverAgent instance at this URL instead of starting a new one.-
Methods inherited from interface io.appium.java_client.remote.options.CanSetCapability
amend, setCapability
-
-
-
-
Field Detail
-
WEB_DRIVER_AGENT_URL_OPTION
static final java.lang.String WEB_DRIVER_AGENT_URL_OPTION
- See Also:
- Constant Field Values
-
-
Method Detail
-
setWebDriverAgentUrl
default T setWebDriverAgentUrl(java.net.URL url)
If provided, Appium will connect to an existing WebDriverAgent instance at this URL instead of starting a new one.- Parameters:
url
- The URL where WDA is listening.- Returns:
- self instance for chaining.
-
setWebDriverAgentUrl
default T setWebDriverAgentUrl(java.lang.String url)
If provided, Appium will connect to an existing WebDriverAgent instance at this URL instead of starting a new one.- Parameters:
url
- The URL where WDA is listening.- Returns:
- self instance for chaining.
-
getWebDriverAgentUrl
default java.util.Optional<java.net.URL> getWebDriverAgentUrl()
Get the WDA URL.- Returns:
- The URL where WDA is listening.
-
-