Skip to main content

sdk.automation.presskeyoptions

Home > @matterway/sdk > Automation > PressKeyOptions

Automation.PressKeyOptions interface

Signature:

export interface PressKeyOptions 

Properties

PropertyModifiersTypeDescription
delay?number(Optional)
interval?number(Optional)
pressDuration?number(Optional) Time to wait between keydown and keyup in milliseconds.
text?string(Optional) Generates an input event with this text.
timeBetweenPresses?number(Optional) Time to wait after the keyboard press event.
times?number(Optional) Number of times the key press event should be repeated.