Interface ThenableEnvironment
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): Promise<null | string>
Parameters
Returns Promise<null | string>
getEnvMasked
- getEnvMasked(key: string): Promise<null | string>
Parameters
Returns Promise<null | string>
getOsIdentifier
- getOsIdentifier(): Promise<string>
getProperty
- getProperty(key: string): Promise<null | string>
Parameters
Returns Promise<null | string>
getPropertyMasked
- getPropertyMasked(key: string): Promise<null | string>
Parameters
Returns Promise<null | string>
getRegionFromFocusedWindow
getSimilarity
- getSimilarity(): Promise<number>
isDarwin
- isDarwin(): Promise<boolean>
isLinux
- isLinux(): Promise<boolean>
isWindows
- isWindows(): Promise<boolean>
resetSimilarity
- resetSimilarity(): Promise<void>
runCommand
- runCommand(command: string, optThrowException: boolean): Promise<CommandLineResult>
Parameters
command: string
optThrowException: boolean
Returns Promise<CommandLineResult>
setSimilarity
- setSimilarity(similarity: number): Promise<void>
Parameters
Returns Promise<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 | Key
Rest ...optModifiers: Key[]
typeAndDecrypt
Parameters
text: string
Rest ...optModifiers: Key[]
typeMasked
Parameters
text: string | Key
Rest ...optModifiers: Key[]