Skip to main content

verify_scroll

Function verify_scroll 

Source
pub async fn verify_scroll(
    adapter: &dyn EngineAdapter,
    selector: &str,
    options: &ScrollOptions,
) -> Result<ScrollVerificationResult, EngineError>
Expand description

Verify that a scroll operation was successful.

§Arguments

  • adapter - The engine adapter to use
  • selector - The CSS selector for the element
  • options - Scroll options

§Returns

The verification result