Interface SupportsShouldTerminateAppOption<T extends BaseOptions<T>>
- All Superinterfaces:
CanSetCapability<T>,org.openqa.selenium.Capabilities,Serializable
- All Known Implementing Classes:
XCUITestOptions
public interface SupportsShouldTerminateAppOption<T extends BaseOptions<T>>
extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionGet whether to enforce app termination on session quit.default TsetShouldTerminateApp(boolean value) Specify if the app should be terminated on session end.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
-
SHOULD_TERMINATE_APP_OPTION
- See Also:
-
-
Method Details
-
setShouldTerminateApp
Specify if the app should be terminated on session end. This capability only has an effect if an application identifier has been passed to the test session (either explicitly, by setting bundleId, or implicitly, by providing app). Default is true unless noReset capability is set to true.- Parameters:
value- Whether to enforce app termination on session quit.- Returns:
- self instance for chaining.
-
doesTerminateApp
Get whether to enforce app termination on session quit.- Returns:
- True or false.
-