Skip to main content

verify_click

Function verify_click 

Source
pub async fn verify_click(
    adapter: &dyn EngineAdapter,
    selector: &str,
    pre_click_state: &PreClickState,
) -> Result<ClickVerificationResult, EngineError>
Expand description

Verify a click operation by comparing pre and post-click states.

§Arguments

  • adapter - The engine adapter to use
  • selector - The CSS selector for the element
  • pre_click_state - The state captured before the click

§Returns

The verification result