Methods
(static) attributeContainsValue(selector, attrName, value)
- Source:
Waiting until an attribute value starts containing an expected value.
Parameters:
Name | Type | Description |
---|---|---|
selector |
||
attrName |
||
value |
(static) attributeEquals(selector, attrName, value)
- Source:
Waiting until an attribute value starts being equal to an expected value.
Parameters:
Name | Type | Description |
---|---|---|
selector |
||
attrName |
||
value |
(async, static) check(message, condition, selector)
- Source:
Checks a custom condition for a certain element.
Parameters:
Name | Type | Description |
---|---|---|
message |
||
condition |
||
selector |
(async, static) checkboxChecked(selector, checked)
- Source:
Waiting that checkbox will be selected/unselected.
Parameters:
Name | Type | Description |
---|---|---|
selector |
||
checked |
(static) count(selector, expectedCount)
- Source:
Waiting for a certain amount of elements.
Parameters:
Name | Type | Description |
---|---|---|
selector |
||
expectedCount |
(static) disabled(selector)
- Source:
Waiting for a disabled element.
Parameters:
Name | Type | Description |
---|---|---|
selector |
(static) displayed(selector)
- Source:
Waiting for a displayed element.
Parameters:
Name | Type | Description |
---|---|---|
selector |
(static) enabled(selector)
- Source:
Waiting for an enabled element.
Parameters:
Name | Type | Description |
---|---|---|
selector |
(static) notDisplayed(selector)
- Source:
Waiting for not displayed element. It means that it can be in DOM but not visible.
Parameters:
Name | Type | Description |
---|---|---|
selector |
(static) notPresent(selector)
- Source:
Waiting for not present element. It means that it is not present in DOM.
Parameters:
Name | Type | Description |
---|---|---|
selector |
(static) present(selector)
- Source:
Waiting for present element. It means that it has to be present in DOM.
Parameters:
Name | Type | Description |
---|---|---|
selector |
(static) presentWithText(selector, expectedText)
- Source:
Checks that element containing a specified text is present.
Parameters:
Name | Type | Description |
---|---|---|
selector |
||
expectedText |
(static) textContains(selector, text)
- Source:
Waiting for element contains a certain text chunk.
Parameters:
Name | Type | Description |
---|---|---|
selector |
||
text |
(static) textEquals(selector, text)
- Source:
Waiting for element has a certain text.
Parameters:
Name | Type | Description |
---|---|---|
selector |
||
text |