Hierarchy (view full)

Properties

activeFrame$: ChainablePromiseElement<Element>
activeFrame$$: ChainablePromiseArray<Element[]>
outerFrame$: ChainablePromiseElement<Element>
outerFrame$$: 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

  • Switch WebDriver context to given webview so subsequent element calls are targeting elements within the webview.

    Note: ensure to call webview.close() to leave the webview context before using other page objects.

    Returns Promise<void>

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

    thenable self reference

Generated using TypeDoc