Interface SupportsResetOnSessionStartOnlyOption<T extends BaseOptions<T>>
-
- All Superinterfaces:
CanSetCapability<T>
,org.openqa.selenium.Capabilities
,java.io.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 java.lang.String
RESET_ON_SESSION_START_ONLY_OPTION
-
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 io.appium.java_client.remote.options.CanSetCapability
amend, setCapability
-
-
-
-
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.
-
-