Skip to main content
Version: 0.18.1

pressKeyNTimes

production

Press a key multiple times. At least two times.

Examples:

await aui.pressKeyNTimes('right');
await aui.pressKeyNTimes('left', 3);
  • @param {PC_AND_MODIFIER_KEY} key
  • @param {number} times - optional: defaults to 2