Interface SupportsSafariAllowPopupsOption<T extends BaseOptions<T>>
- All Superinterfaces:
CanSetCapability<T>,org.openqa.selenium.Capabilities,Serializable
- All Known Implementing Classes:
XCUITestOptions
public interface SupportsSafariAllowPopupsOption<T extends BaseOptions<T>>
extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionGet whether to allow javascript to open new windows in Safari.default TEnforces to allow javascript to open popups in Safari.default TsetSafariAllowPopups(boolean value) Allow javascript to open new windows in Safari.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
-
SAFARI_ALLOW_POPUPS_OPTION
- See Also:
-
-
Method Details
-
safariAllowPopups
Enforces to allow javascript to open popups in Safari.- Returns:
- self instance for chaining.
-
setSafariAllowPopups
Allow javascript to open new windows in Safari. Default keeps current sim setting.- Parameters:
value- Whether to allow javascript to open popups in Safari.- Returns:
- self instance for chaining.
-
doesSafariAllowPopups
Get whether to allow javascript to open new windows in Safari.- Returns:
- True or false.
-