Interface SupportsAppPackageOption<T extends BaseOptions<T>>
- All Superinterfaces:
CanSetCapability<T>,org.openqa.selenium.Capabilities,Serializable
- All Known Implementing Classes:
EspressoOptions,UiAutomator2Options
public interface SupportsAppPackageOption<T extends BaseOptions<T>>
extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionGet the app package identifier.default TsetAppPackage(String appPackage) Application package identifier to be started.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
-
APP_PACKAGE_OPTION
- See Also:
-
-
Method Details
-
setAppPackage
Application package identifier to be started. If not provided then UiAutomator2 will try to detect it automatically from the package provided by the app capability.- Parameters:
appPackage- App package identifier.- Returns:
- self instance for chaining.
-
getAppPackage
Get the app package identifier.- Returns:
- Identifier value.
-