Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ThenableEnvironment

Hierarchy

Index

Properties

Readonly env

env: Promise<Environment>

Methods

cleanClipboard

  • cleanClipboard(): Promise<void>

copyIntoClipboard

decryptSecret

  • decryptSecret(secret: string): Promise<string>

getClipboard

  • getClipboard(): Promise<string>

getClipboardMasked

  • getClipboardMasked(): Promise<string>

getEnv

  • getEnv(key: string): Promise<null | string>

getEnvMasked

  • getEnvMasked(key: string): Promise<null | string>

getOsIdentifier

  • getOsIdentifier(): Promise<string>

getProperty

  • getProperty(key: string): Promise<null | string>

getPropertyMasked

  • getPropertyMasked(key: string): Promise<null | string>

getRegionFromFocusedWindow

getSimilarity

  • getSimilarity(): Promise<number>

isDarwin

  • isDarwin(): Promise<boolean>

isLinux

  • isLinux(): Promise<boolean>

isWindows

  • isWindows(): Promise<boolean>

keyDown

keyUp

mouseWheelDown

mouseWheelUp

paste

pasteAndDecrypt

pasteClipboard

pasteMasked

resetSimilarity

  • resetSimilarity(): Promise<void>

runCommand

  • runCommand(command: string, optThrowException: boolean): Promise<CommandLineResult>

setClipboard

setClipboardMasked

setSimilarity

  • setSimilarity(similarity: number): Promise<void>

sleep

sleepMs

takeScreenshot

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

takeScreenshotWithTimestamp

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

type

typeAndDecrypt

typeMasked

write