Interface SupportsWebDriverAgentMacUrlOption<T extends BaseOptions<T>>
-
- All Superinterfaces:
CanSetCapability<T>
,org.openqa.selenium.Capabilities
,java.io.Serializable
- All Known Implementing Classes:
Mac2Options
public interface SupportsWebDriverAgentMacUrlOption<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_MAC_URL_OPTION
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default java.util.Optional<java.net.URL>
getWebDriverAgentMacUrl()
Get the URL Appium will connect to an existing WebDriverAgentMac instance.default T
setWebDriverAgentMacUrl(java.lang.String url)
Set the URL Appium will connect to an existing WebDriverAgentMac instance at this URL instead of starting a new one.default T
setWebDriverAgentMacUrl(java.net.URL url)
Set the URL Appium will connect to an existing WebDriverAgentMac 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_MAC_URL_OPTION
static final java.lang.String WEB_DRIVER_AGENT_MAC_URL_OPTION
- See Also:
- Constant Field Values
-
-
Method Detail
-
setWebDriverAgentMacUrl
default T setWebDriverAgentMacUrl(java.net.URL url)
Set the URL Appium will connect to an existing WebDriverAgentMac instance at this URL instead of starting a new one.- Parameters:
url
- E.g. "http://192.168.10.1:10101"- Returns:
- self instance for chaining.
-
setWebDriverAgentMacUrl
default T setWebDriverAgentMacUrl(java.lang.String url)
Set the URL Appium will connect to an existing WebDriverAgentMac instance at this URL instead of starting a new one.- Parameters:
url
- E.g. "http://192.168.10.1:10101"- Returns:
- self instance for chaining.
-
getWebDriverAgentMacUrl
default java.util.Optional<java.net.URL> getWebDriverAgentMacUrl()
Get the URL Appium will connect to an existing WebDriverAgentMac instance.- Returns:
- Server URL.
-
-