Interface SupportsBundleIdOption<T extends BaseOptions<T>>

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

public interface SupportsBundleIdOption<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 bundle identifier of the application to automate.
    default T
    setBundleId(String identifier)
    The bundle identifier of the application to automate, for example com.apple.TextEdit.

    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

    • setBundleId

      default T setBundleId(String identifier)
      The bundle identifier of the application to automate, for example com.apple.TextEdit. This is an optional capability. If it is not provided then the session will be started without an application under test (actually, it will be Finder). If the application with the given identifier is not installed then an error will be thrown on session startup. If the application is already running then it will be moved to the foreground.
      Parameters:
      identifier - A valid application bundle identifier.
      Returns:
      self instance for chaining.
    • getBundleId

      default Optional<String> getBundleId()
      Get the bundle identifier of the application to automate.
      Returns:
      Application bundle identifier.