Interface SupportsAppPackageOption<T extends BaseOptions<T>>
-
- All Superinterfaces:
CanSetCapability<T>
,org.openqa.selenium.Capabilities
,java.io.Serializable
- All Known Implementing Classes:
EspressoOptions
,UiAutomator2Options
public interface SupportsAppPackageOption<T extends BaseOptions<T>> extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
APP_PACKAGE_OPTION
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default java.util.Optional<java.lang.String>
getAppPackage()
Get the app package identifier.default T
setAppPackage(java.lang.String appPackage)
Application package identifier to be started.-
Methods inherited from interface io.appium.java_client.remote.options.CanSetCapability
amend, setCapability
-
-
-
-
Field Detail
-
APP_PACKAGE_OPTION
static final java.lang.String APP_PACKAGE_OPTION
- See Also:
- Constant Field Values
-
-
Method Detail
-
setAppPackage
default T setAppPackage(java.lang.String appPackage)
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
default java.util.Optional<java.lang.String> getAppPackage()
Get the app package identifier.- Returns:
- Identifier value.
-
-