Extend sendKeys command example

This commit is contained in:
Marcin Kulik 2024-06-20 13:56:47 +02:00
parent 6af7336007
commit 6c99f737b6

View File

@ -86,7 +86,8 @@ terminal as if the keys were pressed on a keyboard.
```json
{ "type": "sendKeys", "keys": ["nano", "Enter"] }
{ "type": "sendKeys", "keys": ["C-x", "n"] }
{ "type": "sendKeys", "keys": ["hello", "Enter", "world"] }
{ "type": "sendKeys", "keys": ["^x", "n"] }
```
Each element of the `keys` array can be either a key name or an arbitrary text.