Skip to main content

click_element

Function click_element 

Source
pub async fn click_element(
    adapter: &dyn EngineAdapter,
    selector: &str,
    options: &ClickOptions,
) -> Result<ClickResult, EngineError>
Expand description

Click an element (low-level operation).

§Arguments

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

§Returns

The result of the click operation