Interface SupportsAppActivityOption<T extends BaseOptions<T>>
- All Superinterfaces:
CanSetCapability<T>,org.openqa.selenium.Capabilities,Serializable
- All Known Implementing Classes:
EspressoOptions,UiAutomator2Options
public interface SupportsAppActivityOption<T extends BaseOptions<T>>
extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionGet the name of the main app activity.default TsetAppActivity(String appActivity) Main application activity identifier.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
-
APP_ACTIVITY_OPTION
- See Also:
-
-
Method Details
-
setAppActivity
Main application activity identifier. If not provided then UiAutomator2 will try to detect it automatically from the package provided by the app capability.- Parameters:
appActivity- Fully qualified app activity class name.- Returns:
- self instance for chaining.
-
getAppActivity
Get the name of the main app activity.- Returns:
- Activity class name.
-