Interface SupportsShutdownOtherSimulatorsOption<T extends BaseOptions<T>>
- All Superinterfaces:
CanSetCapability<T>,org.openqa.selenium.Capabilities,Serializable
- All Known Implementing Classes:
XCUITestOptions
public interface SupportsShutdownOtherSimulatorsOption<T extends BaseOptions<T>>
extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionGet whether to shutdown of other booted simulators except of the current one.default TsetShutdownOtherSimulators(boolean value) If this capability set to true and the current device under test is an iOS Simulator then Appium will try to shutdown all the other running Simulators before to start a new session.default TEnforce shutdown of other booted simulators except of the current one.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
-
SHUTDOWN_OTHER_SIMULATORS_OPTION
- See Also:
-
-
Method Details
-
shutdownOtherSimulators
Enforce shutdown of other booted simulators except of the current one.- Returns:
- self instance for chaining.
-
setShutdownOtherSimulators
If this capability set to true and the current device under test is an iOS Simulator then Appium will try to shutdown all the other running Simulators before to start a new session. This might be useful while executing webview tests on different devices, since only one device can be debugged remotely at once due to an Apple bug. The capability only has an effect if --relaxed-security command line argument is provided to the server. Defaults to false.- Parameters:
value- Whether shutdown of other booted simulators except of the current one.- Returns:
- self instance for chaining.
-
doesShutdownOtherSimulators
Get whether to shutdown of other booted simulators except of the current one.- Returns:
- True or false.
-