Page object representing a quick pick option in the input box

Hierarchy (view full)

Constructors

Properties

backButton$: ChainablePromiseElement<Element>
backButton$$: ChainablePromiseArray<Element[]>
input: Input
input$: ChainablePromiseElement<Element>
input$$: ChainablePromiseArray<Element[]>
inputBox$: ChainablePromiseElement<Element>
inputBox$$: ChainablePromiseArray<Element[]>
quickPickDescription$: ChainablePromiseElement<Element>
quickPickDescription$$: ChainablePromiseArray<Element[]>
quickPickIndex$: ((...args) => ChainablePromiseElement<Element>)

Type declaration

    • (...args): ChainablePromiseElement<Element>
    • Parameters

      • Rest ...args: [index: number]

      Returns ChainablePromiseElement<Element>

quickPickIndex$$: ((...args) => ChainablePromiseArray<Element[]>)

Type declaration

    • (...args): ChainablePromiseArray<Element[]>
    • Parameters

      • Rest ...args: [index: number]

      Returns ChainablePromiseArray<Element[]>

quickPickLabel$: ChainablePromiseElement<Element>
quickPickLabel$$: ChainablePromiseArray<Element[]>
quickPickPosition$: ((...args) => ChainablePromiseElement<Element>)

Type declaration

    • (...args): ChainablePromiseElement<Element>
    • Parameters

      • Rest ...args: [index: number]

      Returns ChainablePromiseElement<Element>

quickPickPosition$$: ((...args) => ChainablePromiseArray<Element[]>)

Type declaration

    • (...args): ChainablePromiseArray<Element[]>
    • Parameters

      • Rest ...args: [index: number]

      Returns ChainablePromiseArray<Element[]>

quickPickSelectAll$: ChainablePromiseElement<Element>
quickPickSelectAll$$: ChainablePromiseArray<Element[]>
title$: ChainablePromiseElement<Element>
title$$: ChainablePromiseArray<Element[]>
titleBar$: ChainablePromiseElement<Element>
titleBar$$: 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

  • 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<QuickPickItem>

    thenable self reference

  • Select (click) the quick pick item

    Returns Promise<void>

    Promise resolving when the item has been clicked

Generated using TypeDoc