Interface SupportsFullResetOption<T extends BaseOptions<T>>
-
- All Superinterfaces:
CanSetCapability<T>,org.openqa.selenium.Capabilities,java.io.Serializable
- All Known Implementing Classes:
BaseOptions,ChromiumOptions,EspressoOptions,FlutterDriverOptions,GeckoOptions,Mac2Options,SafariOptions,UiAutomator2Options,WindowsOptions,XCUITestOptions
public interface SupportsFullResetOption<T extends BaseOptions<T>> extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringFULL_RESET_OPTION
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default java.util.Optional<java.lang.Boolean>doesFullReset()Get whether the app does a full reset.default TfullReset()Set the app to do a full reset.default TsetFullReset(boolean bool)Set whether the app does a full reset.-
Methods inherited from interface io.appium.java_client.remote.options.CanSetCapability
amend, setCapability
-
-
-
-
Field Detail
-
FULL_RESET_OPTION
static final java.lang.String FULL_RESET_OPTION
- See Also:
- Constant Field Values
-
-
Method Detail
-
fullReset
default T fullReset()
Set the app to do a full reset.- Returns:
- self instance for chaining.
-
setFullReset
default T setFullReset(boolean bool)
Set whether the app does a full reset.- Parameters:
bool- is whether the app does a full reset.- Returns:
- self instance for chaining.
-
doesFullReset
default java.util.Optional<java.lang.Boolean> doesFullReset()
Get whether the app does a full reset.- Returns:
- true if the app does a full reset.
-
-