Interface SupportsWdaBaseUrlOption<T extends BaseOptions<T>>

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

    Modifier and Type
    Method
    Description
    default Optional<URL>
    Get a prefix to build a custom WebDriverAgent URL.
    default T
    This value, if specified, will be used as a prefix to build a custom WebDriverAgent url.
    default T
    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

    Methods inherited from interface org.openqa.selenium.Capabilities

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

  • Method Details

    • setWdaBaseUrl

      default T setWdaBaseUrl(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(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 Optional<URL> getWdaBaseUrl()
      Get a prefix to build a custom WebDriverAgent URL.
      Returns:
      The URL prefix.