Interface SupportsShutdownOtherSimulatorsOption<T extends BaseOptions<T>>
-
- All Superinterfaces:
CanSetCapability<T>
,org.openqa.selenium.Capabilities
,java.io.Serializable
- All Known Implementing Classes:
XCUITestOptions
public interface SupportsShutdownOtherSimulatorsOption<T extends BaseOptions<T>> extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
SHUTDOWN_OTHER_SIMULATORS_OPTION
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default java.util.Optional<java.lang.Boolean>
doesShutdownOtherSimulators()
Get whether to shutdown of other booted simulators except of the current one.default T
setShutdownOtherSimulators(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 T
shutdownOtherSimulators()
Enforce shutdown of other booted simulators except of the current one.-
Methods inherited from interface io.appium.java_client.remote.options.CanSetCapability
amend, setCapability
-
-
-
-
Field Detail
-
SHUTDOWN_OTHER_SIMULATORS_OPTION
static final java.lang.String SHUTDOWN_OTHER_SIMULATORS_OPTION
- See Also:
- Constant Field Values
-
-
Method Detail
-
shutdownOtherSimulators
default T shutdownOtherSimulators()
Enforce shutdown of other booted simulators except of the current one.- Returns:
- self instance for chaining.
-
setShutdownOtherSimulators
default T setShutdownOtherSimulators(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. 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
default java.util.Optional<java.lang.Boolean> doesShutdownOtherSimulators()
Get whether to shutdown of other booted simulators except of the current one.- Returns:
- True or false.
-
-