public interface SupportsWebDriverAgentUrlOption<T extends BaseOptions<T>> extends org.openqa.selenium.Capabilities, CanSetCapability<T>
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
WEB_DRIVER_AGENT_URL_OPTION |
Modifier and Type | Method and 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.
|
asMap, getBrowserName, getBrowserVersion, getCapability, getCapabilityNames, getPlatformName, is, merge
amend, setCapability
static final java.lang.String WEB_DRIVER_AGENT_URL_OPTION
default T setWebDriverAgentUrl(java.net.URL url)
url
- The URL where WDA is listening.default T setWebDriverAgentUrl(java.lang.String url)
url
- The URL where WDA is listening.default java.util.Optional<java.net.URL> getWebDriverAgentUrl()