Web And Mobile Conditions
UntilElementCondition
The UntilElementCondition specifies the state an element can have. Right now 4 states are implemented:
- is visible
- is not visible
- is enabled
- is not enabled
Methods and Attributes
name | parameter | description |
---|---|---|
.is * | - | attribute to specify that the status is present |
.isNot * | - | attribute to specify that the status is not present |
.visible() | - | check for the visibility status |
.enabled() | - | check for the enabled status |
Example
john.attemptsTo(
Wait.for(MYELEMENT)
andCheck(UntilElement.is.visible)
)