Text Editor's Find Widget

Hierarchy (view full)

Constructors

Properties

button$: ((...args) => ChainablePromiseElement<Element>)

Type declaration

    • (...args): ChainablePromiseElement<Element>
    • Parameters

      • Rest ...args: [title: string]

      Returns ChainablePromiseElement<Element>

button$$: ((...args) => ChainablePromiseArray<Element[]>)

Type declaration

    • (...args): ChainablePromiseArray<Element[]>
    • Parameters

      • Rest ...args: [title: string]

      Returns ChainablePromiseArray<Element[]>

checkbox$: ((...args) => ChainablePromiseElement<Element>)

Type declaration

    • (...args): ChainablePromiseElement<Element>
    • Parameters

      • Rest ...args: [title: string]

      Returns ChainablePromiseElement<Element>

checkbox$$: ((...args) => ChainablePromiseArray<Element[]>)

Type declaration

    • (...args): ChainablePromiseArray<Element[]>
    • Parameters

      • Rest ...args: [title: string]

      Returns ChainablePromiseArray<Element[]>

content$: ChainablePromiseElement<Element>
content$$: ChainablePromiseArray<Element[]>
findPart$: ChainablePromiseElement<Element>
findPart$$: ChainablePromiseArray<Element[]>
input$: ChainablePromiseElement<Element>
input$$: ChainablePromiseArray<Element[]>
matchCount$: ChainablePromiseElement<Element>
matchCount$$: ChainablePromiseArray<Element[]>
replacePart$: ChainablePromiseElement<Element>
replacePart$$: ChainablePromiseArray<Element[]>
textEditor: TextEditor
toggleReplace$: ChainablePromiseElement<Element>
toggleReplace$$: 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

  • Get the number of results as an ordered pair of numbers

    Returns Promise<[number, number]>

    pair in form of [current result index, total number of results]

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

    thenable self reference

  • Set text in the replace box. Will toggle replace mode on if called in find mode.

    Parameters

    • text: string

      text to fill in

    Returns Promise<void>

  • Toggle the search to match case

    Parameters

    • toggle: boolean

      true to turn on, false to turn off

    Returns Promise<void>

  • Toggle the search to match whole words

    Parameters

    • toggle: boolean

      true to turn on, false to turn off

    Returns Promise<void>

  • Toggle the replace to preserve case

    Parameters

    • toggle: boolean

      true to turn on, false to turn off

    Returns Promise<void>

  • Toggle between find and replace mode

    Parameters

    • replace: boolean

      true for replace, false for find

    Returns Promise<void>

  • Toggle the search to use regular expressions

    Parameters

    • toggle: boolean

      true to turn on, false to turn off

    Returns Promise<void>

Generated using TypeDoc