Interface SupportsEnforceAppInstallOption<T extends BaseOptions<T>>
- All Superinterfaces:
CanSetCapability<T>,org.openqa.selenium.Capabilities,Serializable
- All Known Implementing Classes:
EspressoOptions,UiAutomator2Options,XCUITestOptions
public interface SupportsEnforceAppInstallOption<T extends BaseOptions<T>>
extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionGet whether the application under test is always reinstalled even if a newer version of it already exists on the device under test.default TSets the application under test is always reinstalled even if a newer version of it already exists on the device under test.default TsetEnforceAppInstall(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.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
-
ENFORCE_APP_INSTALL_OPTION
- See Also:
-
-
Method Details
-
enforceAppInstall
Sets the application under test is always reinstalled even if a newer version of it already exists on the device under test.- Returns:
- self instance for chaining.
-
setEnforceAppInstall
Allows setting whether the application under test is always reinstalled even if a newer version of it already exists on the device under test. False (Android), true (iOS) by default.- Parameters:
value- True to allow test packages installation.- Returns:
- self instance for chaining.
-
doesEnforceAppInstall
Get whether the application under test is always reinstalled even if a newer version of it already exists on the device under test.- Returns:
- True or false.
-