A MouseActionProvider should provide access to a systems mouse input

Hierarchy

  • MouseProviderInterface

Implemented by

Methods

  • leftClick should allow to perform a left click via OS event

    Deprecated

    Will be deprecated with the next major release, use click instead

    Returns Promise<void>

  • middleClick should allow to perform a middle click via OS event

    Deprecated

    Will be deprecated with the next major release, use click instead

    Returns Promise<void>

  • rightClick should allow to perform a right click via OS event

    Deprecated

    Will be deprecated with the next major release, use click instead

    Returns Promise<void>

  • scrollDown should allow to perform an downward mouse scroll

    Parameters

    • amount: number

      The scroll amount

    Returns Promise<void>

  • scrollLeft should allow to perform a left mouse scroll

    Parameters

    • amount: number

      The scroll amount

    Returns Promise<void>

  • scrollRight should perform a right mouse scroll

    Parameters

    • amount: number

      The scroll amount

    Returns Promise<void>

  • scrollUp should allow to perform an upward mouse scroll

    Parameters

    • amount: number

      The scroll amount

    Returns Promise<void>

  • setMouseDelay should allow to configure mouse movement speed

    Parameters

    • delay: number

      The delay in milliseconds

    Returns void

  • setMousePosition should allow to set the mouse cursor position

    Parameters

    • p: Point

      The Point to which the mouse pointer should be set

    Returns Promise<void>