Skip to main content

type_text

Function type_text 

Source
pub async fn type_text(
    c: &CdpClient,
    sid: &str,
    backend_node_id: u64,
    text: &str,
    press_sequentially: bool,
    submit: bool,
) -> Result<()>
Expand description

Focus the node, replace its current content with text, and optionally press Enter. press_sequentially inserts one character per event for inputs that react to each keystroke.