Interface SupportsDisableAutomaticScreenshotsOption<T extends BaseOptions<T>>

All Superinterfaces:
CanSetCapability<T>, org.openqa.selenium.Capabilities, Serializable
All Known Implementing Classes:
XCUITestOptions

public interface SupportsDisableAutomaticScreenshotsOption<T extends BaseOptions<T>> extends org.openqa.selenium.Capabilities, CanSetCapability<T>
  • Field Details

  • Method Details

    • setDisableAutomaticScreenshots

      default T setDisableAutomaticScreenshots(boolean value)
      Disable automatic screenshots taken by XCTest at every interaction. Default is up to WebDriverAgent's config to decide, which currently defaults to true.
      Parameters:
      value - Whether to disable automatic XCTest screenshots.
      Returns:
      self instance for chaining.
    • doesDisableAutomaticScreenshots

      default Optional<Boolean> doesDisableAutomaticScreenshots()
      Get whether to disable automatic XCTest screenshots.
      Returns:
      True or false.