Interface SupportsEnforceFreshSimulatorCreationOption<T extends BaseOptions<T>>

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

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

    • ENFORCE_FRESH_SIMULATOR_CREATION_OPTION

      static final String ENFORCE_FRESH_SIMULATOR_CREATION_OPTION
      See Also:
  • Method Details

    • enforceFreshSimulatorCreation

      default T enforceFreshSimulatorCreation()
      Enforce creation of a new simulator for each new test session.
      Returns:
      self instance for chaining.
    • setEnforceFreshSimulatorCreation

      default T setEnforceFreshSimulatorCreation(boolean value)
      Creates a new simulator in session creation and deletes it in session deletion. Defaults to false.
      Parameters:
      value - Whether to create a new simulator for each new test session.
      Returns:
      self instance for chaining.
    • doesEnforceFreshSimulatorCreation

      default Optional<Boolean> doesEnforceFreshSimulatorCreation()
      Get whether to create a new simulator for each new test session.
      Returns:
      True or false.