Interface SupportsAllowTestPackagesOption<T extends BaseOptions<T>>
-
- All Superinterfaces:
CanSetCapability<T>
,org.openqa.selenium.Capabilities
,java.io.Serializable
- All Known Implementing Classes:
EspressoOptions
,UiAutomator2Options
public interface SupportsAllowTestPackagesOption<T extends BaseOptions<T>> extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ALLOW_TEST_PACKAGES_OPTION
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default T
allowTestPackages()
Enables usage of packages built with the test flag for the automated testing (literally adds -t flag to the adb install command).default java.util.Optional<java.lang.Boolean>
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).default T
setAllowTestPackages(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, setCapability
-
-
-
-
Field Detail
-
ALLOW_TEST_PACKAGES_OPTION
static final java.lang.String ALLOW_TEST_PACKAGES_OPTION
- See Also:
- Constant Field Values
-
-
Method Detail
-
allowTestPackages
default T 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
default T setAllowTestPackages(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). false by default.- Parameters:
value
- True to allow test packages installation.- Returns:
- self instance for chaining.
-
doesAllowTestPackages
default java.util.Optional<java.lang.Boolean> 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.
-
-