Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ThenableRegion

Hierarchy

  • PromiseLike<Region>
    • ThenableRegion

Index

Properties

Optional _height

_height: undefined | number

Optional _left

_left: undefined | number

Optional _region

_region: Promise<Region>

Optional _top

_top: undefined | number

Optional _width

_width: undefined | number

Methods

above

below

click

deleteChars

doubleClick

dragAndDropTo

exists

extractText

find

findRegion

getH

  • getH(): Promise<number | undefined>

getW

  • getW(): Promise<number | undefined>

getX

  • getX(): Promise<number | undefined>

getY

  • getY(): Promise<number | undefined>

grow

highlight

keyDown

keyUp

left

mouseDown

mouseMove

mouseUp

mouseWheelDown

mouseWheelUp

move

paste

pasteAndDecrypt

pasteMasked

right

rightClick

setH

setW

setX

setY

sleep

sleepMs

takeScreenshot

  • takeScreenshot(filename: string): Promise<string>

takeScreenshotWithTimestamp

  • takeScreenshotWithTimestamp(filename: string): Promise<string>

then

  • then<TResult1, TResult2>(onfulfilled?: function | undefined | null, onrejected?: function | undefined | null): PromiseLike<TResult1 | TResult2>
  • Attaches callbacks for the resolution and/or rejection of the Promise.

    Type parameters

    • TResult1

    • TResult2

    Parameters

    • Optional onfulfilled: function | undefined | null

      The callback to execute when the Promise is resolved.

    • Optional onrejected: function | undefined | null

      The callback to execute when the Promise is rejected.

    Returns PromiseLike<TResult1 | TResult2>

    A Promise for the completion of which ever callback is executed.

type

typeAndDecrypt

typeMasked

waitForImage

write