Interface SupportsBuildToolsVersionOption<T extends BaseOptions<T>>

All Superinterfaces:
CanSetCapability<T>, org.openqa.selenium.Capabilities, Serializable
All Known Implementing Classes:
EspressoOptions, UiAutomator2Options

public interface SupportsBuildToolsVersionOption<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<String>
    Get the version of Android build tools to use.
    default T
    The version of Android build tools to use.

    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

    • setBuildToolsVersion

      default T setBuildToolsVersion(String version)
      The version of Android build tools to use. By default, UiAutomator2 driver uses the most recent version of build tools installed on the machine, but sometimes it might be necessary to give it a hint (let say if there is a known bug in the most recent tools version). Example: 28.0.3
      Parameters:
      version - The build tools version to use.
      Returns:
      self instance for chaining.
    • getBuildToolsVersion

      default Optional<String> getBuildToolsVersion()
      Get the version of Android build tools to use.
      Returns:
      Build tools version.