Assistive-Webdriver

Home > vm-providers > VM > sendKeyDownEvent

VM.sendKeyDownEvent() method

Sends a keydown event to the virtual machine.

Signature:

sendKeyDownEvent(key: Key | string): Promise<void>;

Parameters

Parameter Type Description
key Key | string specifies which key to press

Returns:

Promise<void>