PressKeyParams.key
PressKeyParams › key
Type: string
The key to press, given as an Electron Accelerator key name — e.g.'Enter', 'Escape', 'Tab', 'Backspace', 'Delete', an arrow key ('Up' / 'Down' / 'Left' / 'Right'), or a printable character ('a', '1'). The produced character (when the key inserts text) is the literal key value; case-correct text belongs to CommonArguments.typeIntoEditor, not a key-press primitive.