Constructor
new WebElementCondition(message, fn)
Parameters:
Name | Type | Description |
---|---|---|
message | string | A descriptive error message. Should complete the sentence "Waiting [...]" |
fn | function | The condition function to evaluate on each iteration of the wait loop. |
- Source
Extends
- Condition.<!(WebElement|IThenable.<!WebElement>)>