Page object representing an editor group

Hierarchy (view full)

Constructors

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[]>
view: EditorView = ...
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

    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

    Returns Promise<void>

    Promise resolving when the tab's close button is pressed

  • Find an editor action button by title

    Parameters

    • title: string

      title of the button

    Returns Promise<undefined | Element>

    promise resolving to WebElement representing the button if found, undefined otherwise

  • Retrieve the editor action buttons as WebElements

    Returns Promise<ElementArray>

    promise resolving to list of WebElement objects

  • Retrieve all open editor tab titles in an array

    Returns Promise<string[]>

    Promise resolving to array of editor titles

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

    thenable self reference

Generated using TypeDoc