Terminal view on the bottom panel

Hierarchy (view full)

  • IPageDecorator<typeof TerminalViewLocators>
  • ChannelView<typeof TerminalViewLocators>
    • TerminalView

Constructors

Properties

actionsLabel$: ChainablePromiseElement<Element>
actionsLabel$$: ChainablePromiseArray<Element[]>
elem$: ChainablePromiseElement<Element>
elem$$: ChainablePromiseArray<Element[]>
killTerminal$: ChainablePromiseElement<Element>
killTerminal$$: ChainablePromiseArray<Element[]>
newCommand$: ChainablePromiseElement<Element>
newCommand$$: ChainablePromiseArray<Element[]>
newTerminal$: ChainablePromiseElement<Element>
newTerminal$$: ChainablePromiseArray<Element[]>
panel: BottomBarPanel = ...
row$: ChainablePromiseElement<Element>
row$$: ChainablePromiseArray<Element[]>
selectedRow$: ChainablePromiseElement<Element>
selectedRow$$: ChainablePromiseArray<Element[]>
singleTab$: ChainablePromiseElement<Element>
singleTab$$: ChainablePromiseArray<Element[]>
tabList$: ChainablePromiseElement<Element>
tabList$$: ChainablePromiseArray<Element[]>
textArea$: ChainablePromiseElement<Element>
textArea$$: 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

  • Execute command in the internal terminal and wait for results

    Parameters

    • command: string

      text of the command

    • timeout: number = 0

      optional maximum time to wait for completion in milliseconds, 0 for unlimited

    Returns Promise<void>

    Promise resolving when the command is finished

  • Get all text from the internal terminal Beware, no formatting.

    Parameters

    • retry: number = 3

    Returns Promise<string>

    Promise resolving to all terminal text

  • Destroy the currently open terminal

    Returns Promise<void>

    Promise resolving when Kill Terminal button is pressed

  • Initiate new terminal creation

    Returns Promise<void>

    Promise resolving when New Terminal button is pressed

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

    thenable self reference

Generated using TypeDoc