Interface SupportsSafariPlatformVersionOption<T extends BaseOptions<T>>
- All Superinterfaces:
CanSetCapability<T>,org.openqa.selenium.Capabilities,Serializable
- All Known Implementing Classes:
SafariOptions
public interface SupportsSafariPlatformVersionOption<T extends BaseOptions<T>>
extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionGet the version of the platform.default TsetSafariPlatformVersion(String version) safaridriver will only create a session using hosts whose OS version matches the value of safari:platformVersion.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_PLATFORM_VERSION_OPTION
- See Also:
-
-
Method Details
-
setSafariPlatformVersion
safaridriver will only create a session using hosts whose OS version matches the value of safari:platformVersion. OS version numbers are prefix-matched. For example, if the value of safari:platformVersion is '12', this will allow hosts with an OS version of '12.0' or '12.1' but not '10.12'.- Parameters:
version- is the platform version.- Returns:
- self instance for chaining.
-
getSafariPlatformVersion
Get the version of the platform.- Returns:
- String representing the platform version.
-