class Condition<OUT>

finalstruct

Defines a condition to

new Condition(message, fn)

Parameters
messagestring

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

fnfunction(webdriver.WebDriver): OUT

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

Instance Methods

description()code »

Returns
string

A description of this condition.


fn(arg0)code »

Parameters
arg0webdriver.WebDriver
Returns
OUT