Interface SupportsClearSystemFilesOption<T extends BaseOptions<T>>

All Superinterfaces:
CanSetCapability<T>, org.openqa.selenium.Capabilities, 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 final String
     
  • Method Summary

    Modifier and Type
    Method
    Description
    default T
    Set the app to delete any generated files at the end of a session.
    default Optional<Boolean>
    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

    Methods inherited from interface org.openqa.selenium.Capabilities

    asMap, get, getBrowserName, getBrowserVersion, getCapability, getCapabilityNames, getPlatformName, is, merge, required
  • Field Details

  • Method Details

    • 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 Optional<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.