Assistive-Webdriver

Home > assistive-playwright-client > VMKeyboard > type

VMKeyboard.type() method

Sends a low-level keydown and keyup event for each character in the text.

Signature:

type(text: string, options?: {
        delay?: number | undefined;
    }): Promise<void>;

Parameters

Parameter Type Description
text string text to type
options { delay?: number | undefined; } delay: delay in milliseconds between keydown and keyup events

Returns:

Promise<void>