Interface SupportsNoResetOption<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 SupportsNoResetOption<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 not do a reset.
    default T
    Set the app not to do a reset.
    default T
    setNoReset(boolean bool)
    Set whether the app does not do a 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

    • noReset

      default T noReset()
      Set the app not to do a reset.
      Returns:
      self instance for chaining.
    • setNoReset

      default T setNoReset(boolean bool)
      Set whether the app does not do a reset.
      Parameters:
      bool - is whether the app does not do a reset.
      Returns:
      self instance for chaining.
    • doesNoReset

      default Optional<Boolean> doesNoReset()
      Get whether the app does not do a reset.
      Returns:
      true if the app does not do a reset.