MouseClass class provides methods to emulate mouse input

Hierarchy

Constructors

Properties

config: MouseConfig = ...

Methods

  • scrollDown scrolls down for a given amount of "steps" Please note that the actual scroll distance of a single "step" is OS dependent

    Parameters

    • amount: number

      The amount of "steps" to scroll

    Returns Promise<MouseClass>

  • scrollLeft scrolls left for a given amount of "steps" Please note that the actual scroll distance of a single "step" is OS dependent

    Parameters

    • amount: number

      The amount of "steps" to scroll

    Returns Promise<MouseClass>

  • scrollUp scrolls up for a given amount of "steps" Please note that the actual scroll distance of a single "step" is OS dependent

    Parameters

    • amount: number

      The amount of "steps" to scroll

    Returns Promise<MouseClass>

Generated using TypeDoc