Interface SupportsAllowTestPackagesOption<T extends BaseOptions<T>>
- All Superinterfaces:
CanSetCapability<T>,org.openqa.selenium.Capabilities,Serializable
- All Known Implementing Classes:
EspressoOptions,UiAutomator2Options
public interface SupportsAllowTestPackagesOption<T extends BaseOptions<T>>
extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondefault TEnables usage of packages built with the test flag for the automated testing (literally adds -t flag to the adb install command).Get whether it is possible to use packages built with the test flag for the automated testing (literally adds -t flag to the adb install command).default TsetAllowTestPackages(boolean value) If set to true then it would be possible to use packages built with the test flag for the automated testing (literally adds -t flag to the adb install command).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
-
ALLOW_TEST_PACKAGES_OPTION
- See Also:
-
-
Method Details
-
allowTestPackages
Enables usage of packages built with the test flag for the automated testing (literally adds -t flag to the adb install command).- Returns:
- self instance for chaining.
-
setAllowTestPackages
If set to true then it would be possible to use packages built with the test flag for the automated testing (literally adds -t flag to the adb install command). false by default.- Parameters:
value- True to allow test packages installation.- Returns:
- self instance for chaining.
-
doesAllowTestPackages
Get whether it is possible to use packages built with the test flag for the automated testing (literally adds -t flag to the adb install command).- Returns:
- True or false.
-