Interface SupportsSkipAppKillOption<T extends BaseOptions<T>>

  • All Superinterfaces:
    CanSetCapability<T>, org.openqa.selenium.Capabilities, java.io.Serializable
    All Known Implementing Classes:
    Mac2Options

    public interface SupportsSkipAppKillOption<T extends BaseOptions<T>>
    extends org.openqa.selenium.Capabilities, CanSetCapability<T>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String SKIP_APP_KILL_OPTION  
    • Method Summary

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default java.util.Optional<java.lang.Boolean> doesSkipAppKill()
      Get whether to skip the termination of the application under test.
      default T setSkipAppKill​(boolean value)
      Set whether to skip the termination of the application under test when the testing session quits.
      default T skipAppKill()
      Enforces skipping the termination of the application under test when the testing session quits.
      • Methods inherited from interface org.openqa.selenium.Capabilities

        asMap, getBrowserName, getBrowserVersion, getCapability, getCapabilityNames, getPlatformName, is, merge
    • Field Detail

      • SKIP_APP_KILL_OPTION

        static final java.lang.String SKIP_APP_KILL_OPTION
        See Also:
        Constant Field Values
    • Method Detail

      • skipAppKill

        default T skipAppKill()
        Enforces skipping the termination of the application under test when the testing session quits.
        Returns:
        self instance for chaining.
      • setSkipAppKill

        default T setSkipAppKill​(boolean value)
        Set whether to skip the termination of the application under test when the testing session quits. false by default. This capability is only going to be applied if bundleId is set.
        Parameters:
        value - True to skip the termination of the application under test.
        Returns:
        self instance for chaining.
      • doesSkipAppKill

        default java.util.Optional<java.lang.Boolean> doesSkipAppKill()
        Get whether to skip the termination of the application under test.
        Returns:
        True or false.