Interface SupportsWebDriverAgentUrlOption<T extends BaseOptions<T>>

    • 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 org.openqa.selenium.Capabilities

        asMap, getBrowserName, getBrowserVersion, getCapability, getCapabilityNames, getPlatform, getPlatformName, getVersion, is, merge
    • 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.