Interface SupportsResetOnSessionStartOnlyOption<T extends BaseOptions<T>>

    • Method Summary

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default java.util.Optional<java.lang.Boolean> doesResetOnSessionStartOnly()
      Get whether to perform reset on test session finish (false) or not (true).
      default T setResetOnSessionStartOnly​(boolean value)
      Whether to perform reset on test session finish (false) or not (true).
      • Methods inherited from interface org.openqa.selenium.Capabilities

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

      • RESET_ON_SESSION_START_ONLY_OPTION

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

      • setResetOnSessionStartOnly

        default T setResetOnSessionStartOnly​(boolean value)
        Whether to perform reset on test session finish (false) or not (true). Keeping this variable set to true and Simulator running (the default behaviour since version 1.6.4) may significantly shorten the duration of test session initialization.
        Parameters:
        value - Whether to perform reset on test session finish (false) or not (true)..
        Returns:
        self instance for chaining.
      • doesResetOnSessionStartOnly

        default java.util.Optional<java.lang.Boolean> doesResetOnSessionStartOnly()
        Get whether to perform reset on test session finish (false) or not (true).
        Returns:
        True or false.