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
    Modifier and Type
    Field
    Description
    static final String
     
  • Method Summary

    Modifier and Type
    Method
    Description
    default Optional<String>
    Get the build version of the platform.
    default T
    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

    Methods inherited from interface org.openqa.selenium.Capabilities

    asMap, get, getBrowserName, getBrowserVersion, getCapability, getCapabilityNames, getPlatformName, is, merge, required
  • Field Details

  • Method Details

    • setSafariPlatformBuildVersion

      default T setSafariPlatformBuildVersion(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 Optional<String> getSafariPlatformBuildVersion()
      Get the build version of the platform.
      Returns:
      String representing the platform build version.