Interface SupportsResetOnSessionStartOnlyOption<T extends BaseOptions<T>>

All Superinterfaces:
CanSetCapability<T>, org.openqa.selenium.Capabilities, Serializable
All Known Implementing Classes:
XCUITestOptions

public interface SupportsResetOnSessionStartOnlyOption<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 perform reset on test session finish (false) or not (true).
    default T
    Whether to perform reset on test session finish (false) or not (true).

    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

    • 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 Optional<Boolean> doesResetOnSessionStartOnly()
      Get whether to perform reset on test session finish (false) or not (true).
      Returns:
      True or false.