Interface SupportsBuildToolsVersionOption<T extends BaseOptions<T>>

    • Method Summary

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default java.util.Optional<java.lang.String> getBuildToolsVersion()
      Get the version of Android build tools to use.
      default T setBuildToolsVersion​(java.lang.String version)
      The version of Android build tools to use.
      • Methods inherited from interface org.openqa.selenium.Capabilities

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

      • BUILD_TOOLS_VERSION_OPTION

        static final java.lang.String BUILD_TOOLS_VERSION_OPTION
        See Also:
        Constant Field Values
    • Method Detail

      • setBuildToolsVersion

        default T setBuildToolsVersion​(java.lang.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 java.util.Optional<java.lang.String> getBuildToolsVersion()
        Get the version of Android build tools to use.
        Returns:
        Build tools version.