Page object representing the custom VSCode title bar

Hierarchy (view full)

Properties

elem$: ChainablePromiseElement<Element>
elem$$: ChainablePromiseArray<Element[]>
notificationContainer$: ChainablePromiseElement<Element>
notificationContainer$$: ChainablePromiseArray<Element[]>
notificationItem$: ChainablePromiseElement<Element>
notificationItem$$: ChainablePromiseArray<Element[]>

Accessors

  • get elem(): ChainablePromiseElement<Element>
  • Base element of given page object

    Returns ChainablePromiseElement<Element>

  • get parent(): ChainablePromiseElement<Element>
  • Parent element of given page object

    Returns ChainablePromiseElement<Element>

Methods

  • Open the command prompt, type in a command, find the command using a fuzzy match, and execute

    Parameters

    • command: string

      text of the command to be executed

    Returns Promise<InputBox | QuickOpenBox>

    Promise resolving to InputBox (vscode 1.44+) or QuickOpenBox (vscode up to 1.43) object when the command prompt is confirmed

  • Open the command prompt, type in a command, find the command from the quick pick list, and execute

    Parameters

    • command: string

      text of the command to be executed

    Returns Promise<InputBox | QuickOpenBox>

    Promise resolving to InputBox (vscode 1.44+) or QuickOpenBox (vscode up to 1.43) object when the command prompt is confirmed

  • Verifies if any notifications are shown

    Returns Promise<boolean>

    true if workbench has notifications, false otherwise

  • Poll for the element to become visible

    Parameters

    • timeout: number = 10000

      custom timeout for the wait

    • interval: number = 2000

      custom interval to control polling

    Returns Promise<Workbench>

    thenable self reference

Generated using TypeDoc