Interface SupportsAppWaitPackageOption<T extends BaseOptions<T>>
-
- All Superinterfaces:
CanSetCapability<T>,org.openqa.selenium.Capabilities,java.io.Serializable
- All Known Implementing Classes:
EspressoOptions,UiAutomator2Options
public interface SupportsAppWaitPackageOption<T extends BaseOptions<T>> extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringAPP_WAIT_PACKAGE_OPTION
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default java.util.Optional<java.lang.String>getAppWaitPackage()Get the identifier of the app package to wait for.default TsetAppWaitPackage(java.lang.String appWaitPackage)Identifier of the package that the driver should wait for (not necessarily the main one).-
Methods inherited from interface io.appium.java_client.remote.options.CanSetCapability
amend, setCapability
-
-
-
-
Field Detail
-
APP_WAIT_PACKAGE_OPTION
static final java.lang.String APP_WAIT_PACKAGE_OPTION
- See Also:
- Constant Field Values
-
-
Method Detail
-
setAppWaitPackage
default T setAppWaitPackage(java.lang.String appWaitPackage)
Identifier of the package that the driver should wait for (not necessarily the main one). If not provided then defaults to appium:appPackage.- Parameters:
appWaitPackage- Package identifier to wait for.- Returns:
- self instance for chaining.
-
getAppWaitPackage
default java.util.Optional<java.lang.String> getAppWaitPackage()
Get the identifier of the app package to wait for.- Returns:
- Package identifier.
-
-