Interface SupportsEnforceFreshSimulatorCreationOption<T extends BaseOptions<T>>

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

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

      • ENFORCE_FRESH_SIMULATOR_CREATION_OPTION

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

      • 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 java.util.Optional<java.lang.Boolean> doesEnforceFreshSimulatorCreation()
        Get whether to create a new simulator for each new test session.
        Returns:
        True or false.