Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
async type(text: string, ...optModifiers: Key[]) {
await keyboard.pressKey(...optModifiers as NutKey[]);
await keyboard.type(text);
await keyboard.releaseKey(...optModifiers as NutKey[]);
},
async typeAndDecrypt(text: string, ...optModifiers: Key[]) {
async copyIntoClipboard() {
await keyboard.type(...copyShortcut());
},
async cleanClipboard() {