Interface SupportsSafariPlatformVersionOption<T extends BaseOptions<T>>
-
- All Superinterfaces:
CanSetCapability<T>
,org.openqa.selenium.Capabilities
,java.io.Serializable
- All Known Implementing Classes:
SafariOptions
public interface SupportsSafariPlatformVersionOption<T extends BaseOptions<T>> extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
SAFARI_PLATFORM_VERSION_OPTION
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default java.util.Optional<java.lang.String>
getSafariPlatformVersion()
Get the version of the platform.default T
setSafariPlatformVersion(java.lang.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, setCapability
-
-
-
-
Field Detail
-
SAFARI_PLATFORM_VERSION_OPTION
static final java.lang.String SAFARI_PLATFORM_VERSION_OPTION
- See Also:
- Constant Field Values
-
-
Method Detail
-
setSafariPlatformVersion
default T setSafariPlatformVersion(java.lang.String version)
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
default java.util.Optional<java.lang.String> getSafariPlatformVersion()
Get the version of the platform.- Returns:
- String representing the platform version.
-
-