Interface SupportsAppWaitDurationOption<T extends BaseOptions<T>>
- All Superinterfaces:
CanSetCapability<T>,org.openqa.selenium.Capabilities,Serializable
- All Known Implementing Classes:
EspressoOptions,UiAutomator2Options
public interface SupportsAppWaitDurationOption<T extends BaseOptions<T>>
extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionGet the identifier of the app package to wait for.default TsetAppWaitDuration(Duration appWaitDuration) Maximum amount of time to wait until the application under test is started (e.g.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_WAIT_DURATION_OPTION
- See Also:
-
-
Method Details
-
setAppWaitDuration
Maximum amount of time to wait until the application under test is started (e.g. an activity returns the control to the caller). 20000 ms by default.- Parameters:
appWaitDuration- Package identifier to wait for.- Returns:
- self instance for chaining.
-
getAppWaitDuration
Get the identifier of the app package to wait for.- Returns:
- Package identifier.
-