Interface SupportsClearSystemFilesOption<T extends BaseOptions<T>>
-
- All Superinterfaces:
CanSetCapability<T>
,org.openqa.selenium.Capabilities
,java.io.Serializable
- All Known Implementing Classes:
UiAutomator2Options
,XCUITestOptions
public interface SupportsClearSystemFilesOption<T extends BaseOptions<T>> extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
CLEAR_SYSTEM_FILES_OPTION
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default T
clearSystemFiles()
Set the app to delete any generated files at the end of a session.default java.util.Optional<java.lang.Boolean>
doesClearSystemFiles()
Get whether the app deletes generated files at the end of a session.default T
setClearSystemFiles(boolean bool)
Set whether the app deletes generated files at the end of a session.-
Methods inherited from interface io.appium.java_client.remote.options.CanSetCapability
amend, setCapability
-
-
-
-
Field Detail
-
CLEAR_SYSTEM_FILES_OPTION
static final java.lang.String CLEAR_SYSTEM_FILES_OPTION
- See Also:
- Constant Field Values
-
-
Method Detail
-
clearSystemFiles
default T clearSystemFiles()
Set the app to delete any generated files at the end of a session.- Returns:
- self instance for chaining.
-
setClearSystemFiles
default T setClearSystemFiles(boolean bool)
Set whether the app deletes generated files at the end of a session.- Parameters:
bool
- is whether the app deletes generated files at the end of a session.- Returns:
- self instance for chaining.
-
doesClearSystemFiles
default java.util.Optional<java.lang.Boolean> doesClearSystemFiles()
Get whether the app deletes generated files at the end of a session.- Returns:
- true if the app deletes generated files at the end of a session.
-
-