Interface SupportsWdaBaseUrlOption<T extends BaseOptions<T>>
-
- All Superinterfaces:
CanSetCapability<T>
,org.openqa.selenium.Capabilities
,java.io.Serializable
- All Known Implementing Classes:
XCUITestOptions
public interface SupportsWdaBaseUrlOption<T extends BaseOptions<T>> extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
WDA_BASE_URL_OPTION
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default java.util.Optional<java.net.URL>
getWdaBaseUrl()
Get a prefix to build a custom WebDriverAgent URL.default T
setWdaBaseUrl(java.lang.String url)
This value, if specified, will be used as a prefix to build a custom WebDriverAgent url.default T
setWdaBaseUrl(java.net.URL url)
This value, if specified, will be used as a prefix to build a custom WebDriverAgent url.-
Methods inherited from interface io.appium.java_client.remote.options.CanSetCapability
amend, setCapability
-
-
-
-
Field Detail
-
WDA_BASE_URL_OPTION
static final java.lang.String WDA_BASE_URL_OPTION
- See Also:
- Constant Field Values
-
-
Method Detail
-
setWdaBaseUrl
default T setWdaBaseUrl(java.net.URL url)
This value, if specified, will be used as a prefix to build a custom WebDriverAgent url. It is different from webDriverAgentUrl, because if the latter is set then it expects WebDriverAgent to be already listening and skips the building phase. Defaults to http://localhost.- Parameters:
url
- The URL prefix.- Returns:
- self instance for chaining.
-
setWdaBaseUrl
default T setWdaBaseUrl(java.lang.String url)
This value, if specified, will be used as a prefix to build a custom WebDriverAgent url. It is different from webDriverAgentUrl, because if the latter is set then it expects WebDriverAgent to be already listening and skips the building phase. Defaults to http://localhost.- Parameters:
url
- The URL prefix.- Returns:
- self instance for chaining.
-
getWdaBaseUrl
default java.util.Optional<java.net.URL> getWdaBaseUrl()
Get a prefix to build a custom WebDriverAgent URL.- Returns:
- The URL prefix.
-
-