Interface SupportsBundleIdOption<T extends BaseOptions<T>>

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String BUNDLE_ID_OPTION  
    • Method Summary

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default java.util.Optional<java.lang.String> getBundleId()
      Get the app bundle identifier.
      default T setBundleId​(java.lang.String identifier)
      Bundle identifier of the app under test, for example com.mycompany.myapp.
      • Methods inherited from interface org.openqa.selenium.Capabilities

        asMap, getBrowserName, getBrowserVersion, getCapability, getCapabilityNames, getPlatform, getPlatformName, getVersion, is, merge
    • Method Detail

      • setBundleId

        default T setBundleId​(java.lang.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 java.util.Optional<java.lang.String> getBundleId()
        Get the app bundle identifier.
        Returns:
        Identifier value.