WebElementCondition

Defines a condition that will result in a WebElement.

Constructor

new WebElementCondition(message, fn)

Parameters:
NameTypeDescription
messagestring

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

fnfunction

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

Extends