Interface SupportsWebDriverAgentUrlOption<T extends BaseOptions<T>>

All Superinterfaces:
CanSetCapability<T>, org.openqa.selenium.Capabilities, 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 final String
     
  • Method Summary

    Modifier and Type
    Method
    Description
    default Optional<URL>
    Get the WDA URL.
    default T
    If provided, Appium will connect to an existing WebDriverAgent instance at this URL instead of starting a new one.
    default T
    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

    Methods inherited from interface org.openqa.selenium.Capabilities

    asMap, get, getBrowserName, getBrowserVersion, getCapability, getCapabilityNames, getPlatformName, is, merge, required
  • Field Details

  • Method Details

    • setWebDriverAgentUrl

      default T setWebDriverAgentUrl(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(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 Optional<URL> getWebDriverAgentUrl()
      Get the WDA URL.
      Returns:
      The URL where WDA is listening.