Methods
above
- above(range: number): Promise<Region>
Parameters
Returns Promise<Region>
below
- below(range: number): Promise<Region>
Parameters
Returns Promise<Region>
deleteChars
- deleteChars(amountOfChars: number): Promise<Region>
Parameters
Returns Promise<Region>
doubleClick
- doubleClick(): Promise<Region>
dragAndDropTo
Parameters
Returns Promise<Region>
exists
- exists(imageName: string, optWaitSeconds: number): Promise<Region>
Parameters
imageName: string
optWaitSeconds: number
Returns Promise<Region>
extractText
- extractText(): Promise<Region>
find
- find(imageName: string): Promise<Region>
Parameters
Returns Promise<Region>
getH
- getH(): Promise<undefined | number>
Returns Promise<undefined | number>
getW
- getW(): Promise<undefined | number>
Returns Promise<undefined | number>
getX
- getX(): Promise<undefined | number>
Returns Promise<undefined | number>
getY
- getY(): Promise<undefined | number>
Returns Promise<undefined | number>
grow
- grow(range: number): Promise<Region>
Parameters
Returns Promise<Region>
highlight
- highlight(seconds: number): Promise<Region>
Parameters
Returns Promise<Region>
keyDown
Parameters
Returns Promise<Region>
keyUp
Parameters
Returns Promise<Region>
left
- left(range: number): Promise<Region>
Parameters
Returns Promise<Region>
mouseDown
Parameters
Returns Promise<Region>
mouseUp
Parameters
Returns Promise<Region>
mouseWheelDown
- mouseWheelDown(steps: number): Promise<Region>
Parameters
Returns Promise<Region>
mouseWheelUp
- mouseWheelUp(steps: number): Promise<Region>
Parameters
Returns Promise<Region>
move
- move(offsetX: number, offsetY: number): Promise<Region>
Parameters
offsetX: number
offsetY: number
Returns Promise<Region>
paste
- paste(text: string): Promise<Region>
Parameters
Returns Promise<Region>
pasteAndDecrypt
- pasteAndDecrypt(text: string): Promise<Region>
Parameters
Returns Promise<Region>
pasteMasked
- pasteMasked(text: string): Promise<Region>
Parameters
Returns Promise<Region>
right
- right(range: number): Promise<Region>
Parameters
Returns Promise<Region>
setH
- setH(height: number): Promise<Region>
Parameters
Returns Promise<Region>
setW
- setW(width: number): Promise<Region>
Parameters
Returns Promise<Region>
setX
- setX(x: number): Promise<Region>
Parameters
Returns Promise<Region>
setY
- setY(y: number): Promise<Region>
Parameters
Returns Promise<Region>
sleep
- sleep(seconds: number): Promise<Region>
Parameters
Returns Promise<Region>
sleepMs
- sleepMs(milliseconds: number): Promise<Region>
Parameters
Returns Promise<Region>
takeScreenshot
- takeScreenshot(filename: string): Promise<string>
Parameters
Returns Promise<string>
takeScreenshotWithTimestamp
- takeScreenshotWithTimestamp(filename: string): Promise<string>
Parameters
Returns Promise<string>
type
- type(text: string, ...optModifiers: Key[]): Promise<Region>
Parameters
text: string
Rest ...optModifiers: Key[]
Returns Promise<Region>
typeAndDecrypt
- typeAndDecrypt(text: string, ...optModifiers: Key[]): Promise<Region>
Parameters
text: string
Rest ...optModifiers: Key[]
Returns Promise<Region>
typeMasked
- typeMasked(text: string, ...optModifiers: Key[]): Promise<Region>
Parameters
text: string
Rest ...optModifiers: Key[]
Returns Promise<Region>
waitForImage
- waitForImage(imageName: string, seconds: number): Promise<Region>
Parameters
imageName: string
seconds: number
Returns Promise<Region>
write
- write(text: string): Promise<Region>
Parameters
Returns Promise<Region>
A Region on the screen XOXO