Defines a condition for use with WebDriver's WebDriver#wait wait command.

Type Parameters

  • T

Hierarchy

Constructors

Methods

Constructors

  • Type Parameters

    • T

    Parameters

    • message: string

      A descriptive error message. Should complete the sentence 'Waiting [...]'

    • fn: ConditionFn<T>

      The condition function to evaluate on each iteration of the wait loop.

    Returns Condition<T>

Methods

  • Returns string

    A description of this condition.

Generated using TypeDoc