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