View handling the open editors

Hierarchy (view full)

Properties

actionContainer$: ChainablePromiseElement<Element>
actionContainer$$: ChainablePromiseArray<Element[]>
actionItem$: ChainablePromiseElement<Element>
actionItem$$: ChainablePromiseArray<Element[]>
closeTab$: ChainablePromiseElement<Element>
closeTab$$: ChainablePromiseArray<Element[]>
diffEditor$: ChainablePromiseElement<Element>
diffEditor$$: ChainablePromiseArray<Element[]>
editorGroup$: ChainablePromiseElement<Element>
editorGroup$$: ChainablePromiseArray<Element[]>
elem$: ChainablePromiseElement<Element>
elem$$: ChainablePromiseArray<Element[]>
settingsEditor$: ChainablePromiseElement<Element>
settingsEditor$$: ChainablePromiseArray<Element[]>
tab$: ChainablePromiseElement<Element>
tab$$: ChainablePromiseArray<Element[]>
tabLabel$: ChainablePromiseElement<Element>
tabLabel$$: ChainablePromiseArray<Element[]>
tabSeparator$: ChainablePromiseElement<Element>
tabSeparator$$: ChainablePromiseArray<Element[]>
tabTitle$: ChainablePromiseElement<Element>
tabTitle$$: ChainablePromiseArray<Element[]>
webView$: ChainablePromiseElement<Element>
webView$$: 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

  • Close all open editor tabs

    Parameters

    • Optional groupIndex: number

      optional index to specify an editor group

    Returns Promise<void>

    Promise resolving once all tabs have had their close button pressed

  • Close an editor tab with the given title

    Parameters

    • title: string

      title of the tab

    • groupIndex: number = 0

      zero based index for the editor group (0 for the left most group)

    Returns Promise<void>

    Promise resolving when the tab's close button is pressed

  • Get editor action of a select editor group, search by title

    Parameters

    • title: string
    • groupIndex: number = 0

      zero based index of the editor group (leftmost group has index 0), default 0

    Returns Promise<undefined | Element>

    promise resolving to WebElement object if found, undefined otherwise

  • Get editor actions of a select editor group

    Parameters

    • groupIndex: number = 0

      zero based index of the editor group (leftmost group has index 0), default 0

    Returns Promise<ElementArray>

    promise resolving to list of WebElement objects

  • Retrieve an editor group with a given index (counting from left to right)

    Parameters

    • index: number

      zero based index of the editor group (leftmost group has index 0)

    Returns Promise<EditorGroup>

    promise resolving to an EditorGroup object

  • Retrieve all open editor tab titles in an array

    Parameters

    • Optional groupIndex: number

      optional index to specify an editor group, if left empty will search all groups

    Returns Promise<string[]>

    Promise resolving to array of editor titles

  • Retrieve all open editor tabs

    Parameters

    • Optional groupIndex: number

      index of group to search for tabs, if left undefined, all groups are searched

    Returns Promise<EditorTab[]>

    promise resolving to EditorTab list

  • Retrieve an editor tab from a given group by title

    Parameters

    • title: string

      title of the tab

    • groupIndex: number = 0

      zero based index of the editor group, default 0 (leftmost one)

    Returns Promise<EditorTab>

    promise resolving to EditorTab object

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

    thenable self reference

Generated using TypeDoc