Properties
Optional _height
_height?: number
Optional _left
_left?: number
Optional Readonly _region
Optional _top
_top?: number
Optional _width
_width?: number
Methods
exists
Parameters
imageName: string
optWaitSeconds: number
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>
move
Parameters
offsetX: number
offsetY: number
takeScreenshot
- takeScreenshot(filename: string): Promise<string>
Parameters
Returns Promise<string>
takeScreenshotWithTimestamp
- takeScreenshotWithTimestamp(filename: string): Promise<string>
Parameters
Returns Promise<string>
type
Parameters
text: string | Key
Rest ...optModifiers: Key[]
typeAndDecrypt
Parameters
text: string
Rest ...optModifiers: Key[]
typeMasked
Parameters
text: string | Key
Rest ...optModifiers: Key[]
waitForImage
Parameters
imageName: string
seconds: number