public interface SupportsEnforceAppInstallOption<T extends BaseOptions<T>> extends org.openqa.selenium.Capabilities, CanSetCapability<T>
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ENFORCE_APP_INSTALL_OPTION |
Modifier and Type | Method and Description |
---|---|
default java.util.Optional<java.lang.Boolean> |
doesEnforceAppInstall()
Get whether the application under test is always reinstalled even
if a newer version of it already exists on the device under test.
|
default T |
enforceAppInstall()
Sets the application under test is always reinstalled even if a newer version
of it already exists on the device under test.
|
default T |
setEnforceAppInstall(boolean value)
Allows setting whether the application under test is always reinstalled even
if a newer version of it already exists on the device under test.
|
asMap, getBrowserName, getBrowserVersion, getCapability, getCapabilityNames, getPlatformName, is, merge
amend, setCapability
static final java.lang.String ENFORCE_APP_INSTALL_OPTION
default T enforceAppInstall()
default T setEnforceAppInstall(boolean value)
value
- True to allow test packages installation.default java.util.Optional<java.lang.Boolean> doesEnforceAppInstall()