Skip to main content
Version: Next

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