Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Region

A Region on the screen XOXO

Hierarchy

  • Region

Index

Methods

above

  • above(range: number): Promise<Region>

below

  • below(range: number): Promise<Region>

click

deleteChars

  • deleteChars(amountOfChars: number): Promise<Region>

doubleClick

  • doubleClick(): Promise<Region>

dragAndDropTo

exists

  • exists(imageName: string, optWaitSeconds: number): Promise<Region>

extractText

  • extractText(): Promise<Region>

find

  • find(imageName: string): Promise<Region>

findRegion

  • findRegion(): Promise<Region>

getH

  • getH(): Promise<number | undefined>

getW

  • getW(): Promise<number | undefined>

getX

  • getX(): Promise<number | undefined>

getY

  • getY(): Promise<number | undefined>

grow

  • grow(range: number): Promise<Region>

highlight

  • highlight(seconds: number): Promise<Region>

keyDown

keyUp

left

  • left(range: number): Promise<Region>

mouseDown

mouseMove

  • mouseMove(): Promise<Region>

mouseUp

mouseWheelDown

  • mouseWheelDown(steps: number): Promise<Region>

mouseWheelUp

  • mouseWheelUp(steps: number): Promise<Region>

move

  • move(offsetX: number, offsetY: number): Promise<Region>

paste

  • paste(text: string): Promise<Region>

pasteAndDecrypt

  • pasteAndDecrypt(text: string): Promise<Region>

pasteMasked

  • pasteMasked(text: string): Promise<Region>

right

  • right(range: number): Promise<Region>

rightClick

  • rightClick(): Promise<Region>

setH

  • setH(height: number): Promise<Region>

setW

  • setW(width: number): Promise<Region>

setX

  • setX(x: number): Promise<Region>

setY

  • setY(y: number): Promise<Region>

sleep

  • sleep(seconds: number): Promise<Region>

sleepMs

  • sleepMs(milliseconds: number): Promise<Region>

takeScreenshot

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

takeScreenshotWithTimestamp

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

type

  • type(text: string, ...optModifiers: Key[]): Promise<Region>

typeAndDecrypt

  • typeAndDecrypt(text: string, ...optModifiers: Key[]): Promise<Region>

typeMasked

  • typeMasked(text: string, ...optModifiers: Key[]): Promise<Region>

waitForImage

  • waitForImage(imageName: string, seconds: number): Promise<Region>

write

  • write(text: string): Promise<Region>