Interface SupportsUdidOption<T extends BaseOptions<T>>

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

public interface SupportsUdidOption<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 id of the device.
    default T
    Set the id of the device.

    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

    • setUdid

      default T setUdid(String id)
      Set the id of the device.
      Parameters:
      id - is the unique device identifier.
      Returns:
      self instance, for chaining.
    • getUdid

      default Optional<String> getUdid()
      Get the id of the device.
      Returns:
      String representing the unique device identifier.