Skip to main content

input_value

Function input_value 

Source
pub async fn input_value(
    adapter: &dyn EngineAdapter,
    selector: &str,
) -> Result<Option<String>, EngineError>
Expand description

Get the value of an input element.

§Arguments

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

§Returns

The input value, or None if not found