Interface SupportsUninstallOtherPackagesOption<T extends BaseOptions<T>>
-
- All Superinterfaces:
CanSetCapability<T>
,org.openqa.selenium.Capabilities
,java.io.Serializable
- All Known Implementing Classes:
EspressoOptions
,UiAutomator2Options
public interface SupportsUninstallOtherPackagesOption<T extends BaseOptions<T>> extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
UNINSTALL_OTHER_PACKAGES_OPTION
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default java.util.Optional<java.lang.String>
getUninstallOtherPackages()
Get identifiers of packages to be uninstalled from the device before a test starts.default T
setUninstallOtherPackages(java.lang.String packages)
Allows to set one or more comma-separated package identifiers to be uninstalled from the device before a test starts.-
Methods inherited from interface io.appium.java_client.remote.options.CanSetCapability
amend, setCapability
-
-
-
-
Field Detail
-
UNINSTALL_OTHER_PACKAGES_OPTION
static final java.lang.String UNINSTALL_OTHER_PACKAGES_OPTION
- See Also:
- Constant Field Values
-
-
Method Detail
-
setUninstallOtherPackages
default T setUninstallOtherPackages(java.lang.String packages)
Allows to set one or more comma-separated package identifiers to be uninstalled from the device before a test starts.- Parameters:
packages
- one or more comma-separated package identifiers to uninstall.- Returns:
- self instance for chaining.
-
getUninstallOtherPackages
default java.util.Optional<java.lang.String> getUninstallOtherPackages()
Get identifiers of packages to be uninstalled from the device before a test starts.- Returns:
- Comma-separated package identifiers.
-
-