Interface SupportsSafariPlatformBuildVersionOption<T extends BaseOptions<T>>
- All Superinterfaces:
CanSetCapability<T>,org.openqa.selenium.Capabilities,Serializable
- All Known Implementing Classes:
SafariOptions
public interface SupportsSafariPlatformBuildVersionOption<T extends BaseOptions<T>>
extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionGet the build version of the platform.default TsetSafariPlatformBuildVersion(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, setCapabilityMethods inherited from interface org.openqa.selenium.Capabilities
asMap, get, getBrowserName, getBrowserVersion, getCapability, getCapabilityNames, getPlatformName, is, merge, required
-
Field Details
-
SAFARI_PLATFORM_BUILD_VERSION_OPTION
- See Also:
-
-
Method Details
-
setSafariPlatformBuildVersion
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
Get the build version of the platform.- Returns:
- String representing the platform build version.
-