public interface SupportsAutoAcceptAlertsOption<T extends BaseOptions<T>> extends org.openqa.selenium.Capabilities, CanSetCapability<T>
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
AUTO_ACCEPT_ALERTS_OPTION |
Modifier and Type | Method and Description |
---|---|
default T |
autoAcceptAlerts()
Enforce to accept all alerts automatically.
|
default java.util.Optional<java.lang.Boolean> |
doesAutoAcceptAlerts()
Get whether to accept all alerts automatically.
|
default T |
setAutoAcceptAlerts(boolean value)
Accept all iOS alerts automatically if they pop up.
|
asMap, getBrowserName, getBrowserVersion, getCapability, getCapabilityNames, getPlatformName, is, merge
amend, setCapability
static final java.lang.String AUTO_ACCEPT_ALERTS_OPTION
default T autoAcceptAlerts()
default T setAutoAcceptAlerts(boolean value)
value
- Whether to accepts alerts automatically.default java.util.Optional<java.lang.Boolean> doesAutoAcceptAlerts()