Interface SupportsPrintPageSourceOnFindFailureOption<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 SupportsPrintPageSourceOnFindFailureOption<T extends BaseOptions<T>> extends org.openqa.selenium.Capabilities, CanSetCapability<T>
  • Field Details

  • Method Details

    • printPageSourceOnFindFailure

      default T printPageSourceOnFindFailure()
      Set the app to print page source when a find operation fails.
      Returns:
      self instance for chaining.
    • setPrintPageSourceOnFindFailure

      default T setPrintPageSourceOnFindFailure(boolean bool)
      Set whether the app to print page source when a find operation fails.
      Parameters:
      bool - is whether to print page source.
      Returns:
      self instance for chaining.
    • doesPrintPageSourceOnFindFailure

      default Optional<Boolean> doesPrintPageSourceOnFindFailure()
      Get whether the app to print page source when a find operation fails.
      Returns:
      true if app prints page source.