Interface DriverOptions

All Known Implementing Classes:
CdpDriverOptions, W3cDriverOptions

public interface DriverOptions
Base options interface for browser drivers. Provides common configuration that applies to all driver backends.

Phase 8: Extracted from CdpDriverOptions to enable multi-backend support.

  • Method Details

    • getTimeout

      int getTimeout()
      Get timeout in milliseconds.
    • getTimeoutDuration

      Duration getTimeoutDuration()
      Get timeout as Duration.
    • getRetryCount

      int getRetryCount()
      Get retry count for operations.
    • getRetryInterval

      int getRetryInterval()
      Get retry interval in milliseconds.
    • isHeadless

      boolean isHeadless()
      Check if running in headless mode.
    • isScreenshotOnFailure

      boolean isScreenshotOnFailure()
      Check if screenshots should be taken on failure.
    • isHighlight

      boolean isHighlight()
      Check if element highlighting is enabled.
    • getHighlightDuration

      int getHighlightDuration()
      Get highlight duration in milliseconds.
    • getPageLoadStrategy

      PageLoadStrategy getPageLoadStrategy()
      Get page load strategy.
    • getPreSubmitHash

      String getPreSubmitHash()
      Get the pre-submit hash (set by submit(), cleared after next action).
    • setPreSubmitHash

      void setPreSubmitHash(String hash)
      Set the pre-submit hash. Called by submit() to record page state before action.