Interface SupportsClearSystemFilesOption<T extends BaseOptions<T>>

    • 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 org.openqa.selenium.Capabilities

        asMap, getBrowserName, getBrowserVersion, getCapability, getCapabilityNames, getPlatform, getPlatformName, getVersion, is, merge
    • 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.