shouldBeVisible | options? | { index?: number, timeout?: number, assertionTimeout?: number, interval?: number, retries?: number, soft?: boolean } | 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, soft?: boolean } | |
shouldExist | options? | { timeout?: number, assertionTimeout?: number, interval?: number, retries?: number, soft?: boolean } | Checks if the element exists |
shouldNotBeVisible | options? | { timeout?: number, assertionTimeout?: number, interval?: number, retries?: number, soft?: boolean } | 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, soft?: boolean } | |
shouldNotExist | options? | { timeout?: number, assertionTimeout?: number, interval?: number, retries?: number, soft?: boolean } | 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, soft?: boolean } | |
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, soft?: boolean } | |
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, soft?: boolean } | |
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, soft?: boolean } | |
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, soft?: boolean } | |
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, soft?: boolean } | |
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, soft?: boolean } | |
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, soft?: boolean } | |
shouldHaveValue | value | string | Checks if the element's value contains a given string |
| options? | { timeout?: number, assertionTimeout?: number, interval?: number, retries?: number, soft?: boolean } | |
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, soft?: boolean } | |
shouldNotHaveValue | value | string | Checks if the element's value does not contain a given string |
| options? | { timeout?: number, assertionTimeout?: number, interval?: number, retries?: number, soft?: boolean } | |
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, soft?: boolean } | |
shouldBeEnabled | options? | { timeout?: number, assertionTimeout?: number, interval?: number, retries?: number, soft?: boolean } | Checks if the element doesn't have a disabled attribute |
shouldBeDisabled | options? | { timeout?: number, assertionTimeout?: number, interval?: number, retries?: number, soft?: boolean } | Checks if the element has a disabled attribute |
shouldNotBeBlank | options? | { timeout?: number, assertionTimeout?: number, interval?: number, retries?: number, soft?: boolean } | 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, soft?: boolean } | |
shouldBeRequired | options? | { timeout?: number, assertionTimeout?: number, interval?: number, retries?: number, soft?: boolean } | Checks if the field is mandatory |
shouldNotBeRequired | options? | { timeout?: number, assertionTimeout?: number, interval?: number, retries?: number, soft?: boolean } | 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, soft?: boolean } | |
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, soft?: boolean } | |