Interface SupportsSafariPlatformBuildVersionOption<T extends BaseOptions<T>>
-
- All Superinterfaces:
CanSetCapability<T>
,org.openqa.selenium.Capabilities
,java.io.Serializable
- All Known Implementing Classes:
SafariOptions
public interface SupportsSafariPlatformBuildVersionOption<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_BUILD_VERSION_OPTION
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default java.util.Optional<java.lang.String>
getSafariPlatformBuildVersion()
Get the build version of the platform.default T
setSafariPlatformBuildVersion(java.lang.String version)
safaridriver will only create a session using hosts whose OS build version matches the value of safari:platformBuildVersion.-
Methods inherited from interface io.appium.java_client.remote.options.CanSetCapability
amend, setCapability
-
-
-
-
Field Detail
-
SAFARI_PLATFORM_BUILD_VERSION_OPTION
static final java.lang.String SAFARI_PLATFORM_BUILD_VERSION_OPTION
- See Also:
- Constant Field Values
-
-
Method Detail
-
setSafariPlatformBuildVersion
default T setSafariPlatformBuildVersion(java.lang.String version)
safaridriver will only create a session using hosts whose OS build version matches the value of safari:platformBuildVersion. Example of a macOS build version is '18E193'. On macOS, the OS build version can be determined by running the sw_vers(1) utility.- Parameters:
version
- is the platform build version.- Returns:
- self instance for chaining.
-
getSafariPlatformBuildVersion
default java.util.Optional<java.lang.String> getSafariPlatformBuildVersion()
Get the build version of the platform.- Returns:
- String representing the platform build version.
-
-