public interface SupportsForceAppLaunchOption<T extends BaseOptions<T>> extends org.openqa.selenium.Capabilities, CanSetCapability<T>
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
FORCE_APP_LAUNCH_OPTION |
Modifier and Type | Method and Description |
---|---|
default java.util.Optional<java.lang.Boolean> |
doesForceAppLaunch()
Get whether to enforce app restart on session startup.
|
default T |
setForceAppLaunch(boolean value)
Specify if the app should be forcefully restarted if it is already
running on session startup.
|
asMap, getBrowserName, getBrowserVersion, getCapability, getCapabilityNames, getPlatformName, is, merge
amend, setCapability
static final java.lang.String FORCE_APP_LAUNCH_OPTION
default T setForceAppLaunch(boolean value)
value
- Whether to enforce app restart on session startup.default java.util.Optional<java.lang.Boolean> doesForceAppLaunch()