Interface SupportsSafariDeviceUdidOption<T extends BaseOptions<T>>

All Superinterfaces:
CanSetCapability<T>, org.openqa.selenium.Capabilities, Serializable
All Known Implementing Classes:
SafariOptions

public interface SupportsSafariDeviceUdidOption<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 UDID of the device.
    default T
    safaridriver will only create a session using hosts whose device UDID matches the value of safari:deviceUDID.

    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

    • setSafariDeviceUdid

      default T setSafariDeviceUdid(String deviceUdid)
      safaridriver will only create a session using hosts whose device UDID matches the value of safari:deviceUDID. Device UDIDs are compared case-insensitively. NOTE: If Xcode is installed, UDIDs for connected devices are available via the output of instruments(1) and in the Devices and Simulators window (accessed in Xcode via "Window -> Devices and Simulators").
      Parameters:
      deviceUdid - Device UDID.
      Returns:
      self instance for chaining.
    • getSafariDeviceUdid

      default Optional<String> getSafariDeviceUdid()
      Get the UDID of the device.
      Returns:
      String representing the UDID of the device.