Interface SupportsBundleIdOption<T extends BaseOptions<T>>
-
- All Superinterfaces:
CanSetCapability<T>
,org.openqa.selenium.Capabilities
,java.io.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 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 io.appium.java_client.remote.options.CanSetCapability
amend, setCapability
-
-
-
-
Field Detail
-
BUNDLE_ID_OPTION
static final java.lang.String BUNDLE_ID_OPTION
- See Also:
- Constant Field Values
-
-
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.
-
-