Interface SupportsFullResetOption<T extends BaseOptions<T>>

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

    Modifier and Type
    Method
    Description
    default Optional<Boolean>
    Get whether the app does a full reset.
    default T
    Set the app to do a full reset.
    default T
    setFullReset(boolean bool)
    Set whether the app does a full reset.

    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

    • 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 Optional<Boolean> doesFullReset()
      Get whether the app does a full reset.
      Returns:
      true if the app does a full reset.