public interface SupportsAppWaitForLaunchOption<T extends BaseOptions<T>> extends org.openqa.selenium.Capabilities, CanSetCapability<T>
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
APP_WAIT_FOR_LAUNCH_OPTION |
Modifier and Type | Method and 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).
|
asMap, getBrowserName, getBrowserVersion, getCapability, getCapabilityNames, getPlatformName, is, merge
amend, setCapability
static final java.lang.String APP_WAIT_FOR_LAUNCH_OPTION
default T setAppWaitForLaunch(boolean value)
value
- Set to false if you don't want to wait for the app to finish its launch.default java.util.Optional<java.lang.Boolean> doesAppWaitForLaunch()