Interface SupportsSafariUseSimulatorOption<T extends BaseOptions<T>>
- All Superinterfaces:
CanSetCapability<T>,org.openqa.selenium.Capabilities,Serializable
- All Known Implementing Classes:
SafariOptions
public interface SupportsSafariUseSimulatorOption<T extends BaseOptions<T>>
extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionGet whether to use iOS Simulator.default TEnforces safaridriver to use iOS Simulator.default TsetSafariUseSimulator(boolean bool) If the value of safari:useSimulator is true, safaridriver will only use iOS Simulator hosts.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_USE_SIMULATOR_OPTION
- See Also:
-
-
Method Details
-
safariUseSimulator
Enforces safaridriver to use iOS Simulator.- Returns:
- self instance for chaining.
-
setSafariUseSimulator
If the value of safari:useSimulator is true, safaridriver will only use iOS Simulator hosts. If the value of safari:useSimulator is false, safaridriver will not use iOS Simulator hosts. NOTE: An Xcode installation is required in order to run WebDriver tests on iOS Simulator hosts.- Parameters:
bool- is whether to use iOS Simulator.- Returns:
- self instance for chaining.
-
doesSafariUseSimulator
Get whether to use iOS Simulator.- Returns:
- true or false.
-