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
    Modifier and Type
    Field
    Description
    static final String
     
  • Method Summary

    Modifier and Type
    Method
    Description
    default Optional<Boolean>
    Get whether to shutdown of other booted simulators except of the current one.
    default T
    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
    Enforce shutdown of other booted simulators except of the current one.

    Methods inherited from interface io.appium.java_client.remote.options.CanSetCapability

    amend, setCapability

    Methods inherited from interface org.openqa.selenium.Capabilities

    asMap, get, getBrowserName, getBrowserVersion, getCapability, getCapabilityNames, getPlatformName, is, merge, required
  • Field Details

  • Method Details

    • 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 Optional<Boolean> doesShutdownOtherSimulators()
      Get whether to shutdown of other booted simulators except of the current one.
      Returns:
      True or false.