Interface PressKeyOptions

Hierarchy

  • PressKeyOptions

Properties

delay?: number

Deprecated

Use pressDuration instead.

Alias

pressDuration

interval?: number

Deprecated

Use timeBetweenPresses instead.

Alias

timeBetweenPresses

pressDuration?: number

Time to wait between keydown and keyup in milliseconds.

successCondition?: (() => Promise<void>)

Type declaration

    • (): Promise<void>
    • Returns Promise<void>

text?: string

Generates an input event with this text.

timeBetweenPresses?: number

Time to wait after the keyboard press event.

times?: number

Number of times the key press event should be repeated.

Generated using TypeDoc