Interface SupportsAutoDismissAlertsOption<T extends BaseOptions<T>>
- All Superinterfaces:
CanSetCapability<T>,org.openqa.selenium.Capabilities,Serializable
- All Known Implementing Classes:
XCUITestOptions
public interface SupportsAutoDismissAlertsOption<T extends BaseOptions<T>>
extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondefault TEnforce to dismiss all alerts automatically.Get whether to dismiss all alerts automatically.default TsetAutoDismissAlerts(boolean value) Dismiss all iOS alerts automatically if they pop up.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
-
AUTO_DISMISS_ALERTS_OPTION
- See Also:
-
-
Method Details
-
autoDismissAlerts
Enforce to dismiss all alerts automatically.- Returns:
- self instance for chaining.
-
setAutoDismissAlerts
Dismiss all iOS alerts automatically if they pop up. This includes privacy access permission alerts (e.g., location, contacts, photos). Default is false.- Parameters:
value- Whether to dismiss alerts automatically.- Returns:
- self instance for chaining.
-
doesAutoDismissAlerts
Get whether to dismiss all alerts automatically.- Returns:
- True or false.
-