Interface SupportsAppWaitForLaunchOption<T extends BaseOptions<T>>
-
- All Superinterfaces:
CanSetCapability<T>
,org.openqa.selenium.Capabilities
,java.io.Serializable
- All Known Implementing Classes:
UiAutomator2Options
public interface SupportsAppWaitForLaunchOption<T extends BaseOptions<T>> extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
APP_WAIT_FOR_LAUNCH_OPTION
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default java.util.Optional<java.lang.Boolean>
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.default T
setAppWaitForLaunch(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, setCapability
-
-
-
-
Field Detail
-
APP_WAIT_FOR_LAUNCH_OPTION
static final java.lang.String APP_WAIT_FOR_LAUNCH_OPTION
- See Also:
- Constant Field Values
-
-
Method Detail
-
setAppWaitForLaunch
default T setAppWaitForLaunch(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).- 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
default java.util.Optional<java.lang.Boolean> 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.
-
-