WebSocket - Input
Simulate keyboard input on the host machine.
Keyboard keypress
Section titled “Keyboard keypress”Send the KEYBOARD_KEYPRESS event with a key to press a single key.
{ "id": "abc123", "token": "abc123", "event": "KEYBOARD_KEYPRESS", "data": { "key": "a" }}Keyboard text
Section titled “Keyboard text”Send the KEYBOARD_TEXT event with a text string to type text.
{ "id": "abc123", "token": "abc123", "event": "KEYBOARD_TEXT", "data": { "text": "hello" }}