Interface SupportsShutdownOtherSimulatorsOption<T extends BaseOptions<T>>

    • 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 org.openqa.selenium.Capabilities

        asMap, getBrowserName, getBrowserVersion, getCapability, getCapabilityNames, getPlatform, getPlatformName, getVersion, is, merge
    • 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.