pub async fn type_text(
engine: &dyn EngineAdapter,
text: &str,
) -> Result<(), EngineError>Expand description
Type text at the page level (dispatches key events for each character).
Unlike element-level fill/type, this sends keyboard events to whatever element is currently focused on the page.
§Arguments
engine- The browser engine adaptertext- The text to type
§Errors
Returns EngineError if typing fails.