Interface SupportsSafariDeviceNameOption<T extends BaseOptions<T>>

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

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

    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

    • setSafariDeviceName

      default T setSafariDeviceName(String deviceName)
      safaridriver will only create a session using hosts whose device name matches the value of safari:deviceName. Device names are compared case-insensitively. NOTE: Device names for connected devices are shown in iTunes. If Xcode is installed, device names 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:
      deviceName - Device name.
      Returns:
      self instance for chaining.
    • getSafariDeviceName

      default Optional<String> getSafariDeviceName()
      Get the name of the device.
      Returns:
      String representing the name of the device.