Home > assistive-playwright-client > VMKeyboard > down
Sends a low-level keydown event to the virtual machine.
Signature:
down(key: string): Promise<void>;
Parameter | Type | Description |
---|---|---|
key | string | Name of the key (cf Key) or its corresponding character, for example PageUp or a . If the character requires to press the Shift key to be produced, a keydown and a keyup event for the Shift key are also sent before and after. |
Returns:
Promise<void>