shouldBeVisible | options? | { index?: number, timeout?: number, assertionTimeout?: number, interval?: number, retries?: number } | Checks if the element exists and visible |
shouldBeVisibleByIndex | index | number | Checks if the element exists and visible by a given index |
| options? | { timeout?: number, assertionTimeout?: number, interval?: number, retries?: number } | |
shouldExist | options? | { timeout?: number, assertionTimeout?: number, interval?: number, retries?: number } | Checks if the element exists |
shouldNotBeVisible | options? | { timeout?: number, assertionTimeout?: number, interval?: number, retries?: number } | Checks if the element exists but is not visible |
shouldNotBeVisibleByIndex | index | number | Checks if the element exists but is not visible by a given index |
| options? | { timeout?: number, assertionTimeout?: number, interval?: number, retries?: number } | |
shouldNotExist | options? | { timeout?: number, assertionTimeout?: number, interval?: number, retries?: number } | Checks if the element does not exist |
shouldHaveText | value | string | Checks if the element's inner text contains a given string |
| options? | { timeout?: number, assertionTimeout?: number, interval?: number, retries?: number } | |
shouldHaveTextByIndex | value | string | Checks if the element's inner text by a given index contains a given string |
| index | number | |
| options? | { timeout?: number, assertionTimeout?: number, interval?: number, retries?: number } | |
shouldNotHaveText | value | string | Checks if the element's inner text does not contain a given string |
| options? | { timeout?: number, assertionTimeout?: number, interval?: number, retries?: number } | |
shouldNotHaveTextByIndex | value | string | Checks if the element's inner text by a given index does not contain a given string |
| index | number | |
| options? | { timeout?: number, assertionTimeout?: number, interval?: number, retries?: number } | |
shouldHaveExactText | value | string | Checks if the element's inner text is equal to a given string |
| options? | { timeout?: number, assertionTimeout?: number, interval?: number, retries?: number } | |
shouldHaveExactTextByIndex | value | string | Checks if the element's inner text by a given index is equal to a given string |
| index | number | |
| options? | { timeout?: number, assertionTimeout?: number, interval?: number, retries?: number } | |
shouldNotHaveExactText | value | string | Checks if the element's inner text is not equal to a given string |
| options? | { timeout?: number, assertionTimeout?: number, interval?: number, retries?: number } | |
shouldNotHaveExactTextByIndex | value | string | Checks if the element's inner text by a given index is not equal to a given string |
| index | number | |
| options? | { timeout?: number, assertionTimeout?: number, interval?: number, retries?: number } | |
shouldHaveValue | value | string | Checks if the element's value contains a given string |
| options? | { timeout?: number, assertionTimeout?: number, interval?: number, retries?: number } | |
shouldHaveValueByIndex | value | string | Checks if the element's value by a given index contains a given string |
| index | number | |
| options? | { timeout?: number, assertionTimeout?: number, interval?: number, retries?: number } | |
shouldNotHaveValue | value | string | Checks if the element's value does not contain a given string |
| options? | { timeout?: number, assertionTimeout?: number, interval?: number, retries?: number } | |
shouldNotHaveValueByIndex | value | string | Checks if the element's value by a given index does not contain a given string |
| index | number | |
| options? | { timeout?: number, assertionTimeout?: number, interval?: number, retries?: number } | |
shouldBeEnabled | options? | { timeout?: number, assertionTimeout?: number, interval?: number, retries?: number } | Checks if the element doesn't have a disabled attribute |
shouldBeDisabled | options? | { timeout?: number, assertionTimeout?: number, interval?: number, retries?: number } | Checks if the element has a disabled attribute |
shouldNotBeBlank | options? | { timeout?: number, assertionTimeout?: number, interval?: number, retries?: number } | Checks if the element's inner text is not equal to an empty string ("") |
shouldNotBeBlankByIndex | index | number | Checks if the element's inner text by a given index is not equal to an empty string ("") |
| options? | { timeout?: number, assertionTimeout?: number, interval?: number, retries?: number } | |
shouldBeRequired | options? | { timeout?: number, assertionTimeout?: number, interval?: number, retries?: number } | Checks if the field is mandatory |
shouldNotBeRequired | options? | { timeout?: number, assertionTimeout?: number, interval?: number, retries?: number } | Checks if the field is not mandatory |
shouldHaveValidationType | validationType | string | Checks if the element's validation type is equal to a given one |
| options? | { timeout?: number, assertionTimeout?: number, interval?: number, retries?: number } | |
shouldNotHaveValidationType | validationType | string | Checks if the element's validation type is not equal to a given one |
| options? | { timeout?: number, assertionTimeout?: number, interval?: number, retries?: number } | |