Interface SupportsRemoteAppsCacheLimitOption<T extends BaseOptions<T>>
- All Superinterfaces:
CanSetCapability<T>,org.openqa.selenium.Capabilities,Serializable
- All Known Implementing Classes:
EspressoOptions,UiAutomator2Options
public interface SupportsRemoteAppsCacheLimitOption<T extends BaseOptions<T>>
extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionGet the maximum amount of apps that could be cached on the remote device.default TsetRemoteAppsCacheLimit(int limit) Sets the maximum amount of application packages to be cached 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
-
REMOTE_APPS_CACHE_LIMIT_OPTION
- See Also:
-
-
Method Details
-
setRemoteAppsCacheLimit
Sets the maximum amount of application packages to be cached on the device under test. This is needed for devices that don't support streamed installs (Android 7 and below), because ADB must push app packages to the device first in order to install them, which takes some time. Setting this capability to zero disables apps caching. 10 by default.- Parameters:
limit- The maximum amount of cached apps.- Returns:
- self instance for chaining.
-
getRemoteAppsCacheLimit
Get the maximum amount of apps that could be cached on the remote device.- Returns:
- The maximum amount of cached apps.
-