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 Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionGet whether to create a new simulator for each new test session.default TEnforce creation of a new simulator for each new test session.default TsetEnforceFreshSimulatorCreation(boolean value) Creates a new simulator in session creation and deletes it in session deletion.Methods inherited from interface io.appium.java_client.remote.options.CanSetCapability
amend, setCapabilityMethods inherited from interface org.openqa.selenium.Capabilities
asMap, get, getBrowserName, getBrowserVersion, getCapability, getCapabilityNames, getPlatformName, is, merge, required
-
Field Details
-
ENFORCE_FRESH_SIMULATOR_CREATION_OPTION
- See Also:
-
-
Method Details
-
enforceFreshSimulatorCreation
Enforce creation of a new simulator for each new test session.- Returns:
- self instance for chaining.
-
setEnforceFreshSimulatorCreation
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
Get whether to create a new simulator for each new test session.- Returns:
- True or false.
-