Interface SupportsBundleIdOption<T extends BaseOptions<T>>

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

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 app bundle identifier.
    default T
    setBundleId(String identifier)
    Bundle identifier of the app under test, for example com.mycompany.myapp.

    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)
      Bundle identifier of the app under test, for example com.mycompany.myapp. The capability value is calculated automatically if app is provided. If neither app nor bundleId capability is provided then XCUITest driver starts from the Home screen.
      Parameters:
      identifier - App identifier.
      Returns:
      self instance for chaining.
    • getBundleId

      default Optional<String> getBundleId()
      Get the app bundle identifier.
      Returns:
      Identifier value.