Output view of the bottom panel

const bottomBar = workbench.getBottomBar()
const outputView = await bottomBar.openOutputView()
console.log(await outputView.getChannelNames())
// returns
// [
// 'Tasks',
// 'Extensions',
// 'Microsoft Authentication',
// 'Git',
// 'GitHub Authentication',
// 'Log (Window)',
// 'Log (Main)',
// 'Log (Extension Host)',
// 'Log (Settings Sync)',
// 'Log (Shared)'
// ]

Hierarchy (view full)

  • IPageDecorator<typeof OutputViewLocators>
  • TextView<typeof OutputViewLocators>
    • OutputView

Constructors

Properties

actionsLabel$: ChainablePromiseElement<Element>
actionsLabel$$: ChainablePromiseArray<Element[]>
elem$: ChainablePromiseElement<Element>
elem$$: ChainablePromiseArray<Element[]>
lines$: ChainablePromiseElement<Element>
lines$$: ChainablePromiseArray<Element[]>
panel: BottomBarPanel = ...

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<OutputView>

    thenable self reference

  • Wait for the element to become visible

    Parameters

    • timeout: number = 5000

      custom timeout for the wait

    Returns Promise<OutputView>

    thenable self reference

Generated using TypeDoc