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 -
Method Summary
Modifier and TypeMethodDescriptionGet the version of Android build tools to use.default TsetBuildToolsVersion(String version) The version of Android build tools to use.Methods inherited from interface io.appium.java_client.remote.options.CanSetCapability
amend, setCapabilityMethods inherited from interface org.openqa.selenium.Capabilities
asMap, get, getBrowserName, getBrowserVersion, getCapability, getCapabilityNames, getPlatformName, is, merge, required
-
Field Details
-
BUILD_TOOLS_VERSION_OPTION
- See Also:
-
-
Method Details
-
setBuildToolsVersion
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
Get the version of Android build tools to use.- Returns:
- Build tools version.
-