Methods
cleanClipboard
- cleanClipboard(): Promise<void>
decryptSecret
- decryptSecret(secret: string): Promise<string>
Parameters
Returns Promise<string>
getClipboard
- getClipboard(): Promise<string>
getClipboardMasked
- getClipboardMasked(): Promise<string>
getEnv
- getEnv(key: string): null | string
Parameters
Returns null | string
getEnvMasked
- getEnvMasked(key: string): null | string
Parameters
Returns null | string
getOsIdentifier
- getOsIdentifier(): string
getProperty
- getProperty(key: string): null | string
Parameters
Returns null | string
getPropertyMasked
- getPropertyMasked(key: string): null | string
Parameters
Returns null | string
getRegionFromFocusedWindow
- getRegionFromFocusedWindow(): Promise<Region>
runCommand
- runCommand(command: string, optThrowException: boolean): Promise<CommandLineResult>
Parameters
command: string
optThrowException: boolean
Returns Promise<CommandLineResult>
setSimilarity
- setSimilarity(similarity: number): void
takeScreenshot
- takeScreenshot(filename: string): Promise<string>
Parameters
Returns Promise<string>
takeScreenshotWithTimestamp
- takeScreenshotWithTimestamp(filename: string): Promise<string>
Parameters
Returns Promise<string>
type
Parameters
text: string
Rest ...optModifiers: Key[]
typeAndDecrypt
- typeAndDecrypt(text: string, ...optModifiers: Key[]): Promise<Environment>
Parameters
text: string
Rest ...optModifiers: Key[]
typeMasked
- typeMasked(text: string, ...optModifiers: Key[]): Promise<Environment>
Parameters
text: string
Rest ...optModifiers: Key[]