Interface SupportsWdaBaseUrlOption<T extends BaseOptions<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 org.openqa.selenium.Capabilities

        asMap, getBrowserName, getBrowserVersion, getCapability, getCapabilityNames, getPlatform, getPlatformName, getVersion, is, merge
    • Field Detail

    • 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.