Home > assistive-playwright-client > VMKeyboard > type
Sends a low-level keydown and keyup event for each character in the text.
Signature:
type(text: string, options?: {
delay?: number | undefined;
}): Promise<void>;
Parameter | Type | Description |
---|---|---|
text | string | text to type |
options | { delay?: number | undefined; } | delay : delay in milliseconds between keydown and keyup events |
Returns:
Promise<void>