Interface SupportsAppWaitForLaunchOption<T extends BaseOptions<T>>
- All Superinterfaces:
CanSetCapability<T>,org.openqa.selenium.Capabilities,Serializable
- All Known Implementing Classes:
UiAutomator2Options
public interface SupportsAppWaitForLaunchOption<T extends BaseOptions<T>>
extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionGet whether to block until the app under test returns the control to the caller after its activity has been started by Activity Manager.default TsetAppWaitForLaunch(boolean value) Whether to block until the app under test returns the control to the caller after its activity has been started by Activity Manager (true, the default value) or to continue the test without waiting for that (false).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_FOR_LAUNCH_OPTION
- See Also:
-
-
Method Details
-
setAppWaitForLaunch
Whether to block until the app under test returns the control to the caller after its activity has been started by Activity Manager (true, the default value) or to continue the test without waiting for that (false).- Parameters:
value- Set to false if you don't want to wait for the app to finish its launch.- Returns:
- self instance for chaining.
-
doesAppWaitForLaunch
Get whether to block until the app under test returns the control to the caller after its activity has been started by Activity Manager.- Returns:
- True if the driver should block or false otherwise.
-