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 -
Method Summary
Modifier and TypeMethodDescriptionGet the bundle identifier of the application to automate.default TsetBundleId(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, setCapabilityMethods inherited from interface org.openqa.selenium.Capabilities
asMap, get, getBrowserName, getBrowserVersion, getCapability, getCapabilityNames, getPlatformName, is, merge, required
-
Field Details
-
BUNDLE_ID_OPTION
- See Also:
-
-
Method Details
-
setBundleId
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
Get the bundle identifier of the application to automate.- Returns:
- Application bundle identifier.
-