Interface SupportsBuildToolsVersionOption<T extends BaseOptions<T>>
-
- All Superinterfaces:
CanSetCapability<T>
,org.openqa.selenium.Capabilities
,java.io.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 java.lang.String
BUILD_TOOLS_VERSION_OPTION
-
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 io.appium.java_client.remote.options.CanSetCapability
amend, setCapability
-
-
-
-
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.
-
-