shouldBeVisible | options? | { index?: number, timeout?: number, assertionTimeout?: number, interval?: number, retries?: number, soft?: boolean } | Checks if the element exists and is visible |
shouldExist | options? | { index?: number, timeout?: number, assertionTimeout?: number, interval?: number, retries?: number, soft?: boolean } | Checks if the element exists |
shouldNotBeVisible | options? | { index?: number, timeout?: number, assertionTimeout?: number, interval?: number, retries?: number, soft?: boolean } | Checks if the element exists but is not visible |
shouldNotExist | options? | { index?: number, 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? | { index?: number, 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? | { index?: number, 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? | { index?: number, 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? | { index?: number, timeout?: number, assertionTimeout?: number, interval?: number, retries?: number, soft?: boolean } | |
shouldHaveValue | value | string | Checks if the element's value contains a given string |
| options? | { index?: number, 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? | { index?: number, timeout?: number, assertionTimeout?: number, interval?: number, retries?: number, soft?: boolean } | |
shouldBeEnabled | options? | { index?: number, timeout?: number, assertionTimeout?: number, interval?: number, retries?: number, soft?: boolean } | Checks if the element doesn't have a disabled attribute |
shouldBeDisabled | options? | { index?: number, timeout?: number, assertionTimeout?: number, interval?: number, retries?: number, soft?: boolean } | Checks if the element has a disabled attribute |
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 } | |
shouldHaveSelectedItem | value | string | Checks if the element's value contains a given string |
| options? | { timeout?: number, assertionTimeout?: number, interval?: number, retries?: number, soft?: boolean } | |
shouldNotHaveSelectedItem | 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 } | |
shouldHaveAttributeSelected | value | string | Checks if the element's option has a selected attribute |
| options? | { timeout?: number, assertionTimeout?: number, interval?: number, retries?: number, soft?: boolean } | |
shouldNotHaveAttributeSelected | value | string | Checks if the element's option does not have a selected attribute |
| options? | { timeout?: number, assertionTimeout?: number, interval?: number, retries?: number, soft?: boolean } | |
shouldHaveSuggestedItems | values | string[] | Checks if the element's options contain the list of values (as values of the value attribute); order is not considered |
| options? | { timeout?: number, assertionTimeout?: number, interval?: number, retries?: number, soft?: boolean } | |
shouldNotHaveSuggestedItems | values | string[] | Checks if the element's options does not contain the list of values (as values of the value attribute) |
| options? | { timeout?: number, assertionTimeout?: number, interval?: number, retries?: number, soft?: boolean } | |
shouldOnlyHaveSuggestedItems | values | string[] | Checks if the element's options contain only the list of values (as values of the value attribute); order is not considered |
| options? | { timeout?: number, assertionTimeout?: number, interval?: number, retries?: number, soft?: boolean } | |
shouldHaveSuggestedItemsByInnerText | values | string[] | Checks if the element's options contain the list of values (as inner text); order is not considered |
| options? | { timeout?: number, assertionTimeout?: number, interval?: number, retries?: number, soft?: boolean } | |
shouldNotHaveSuggestedItemsByInnerText | values | string[] | Checks if the element's options do not contain the list of values (as inner text) |
shouldHaveInnerTextPerOptionValue | optionValue | string | Checks if the element's option contain a particular combination of value of the value attribute and inner text |
| innerText | string | |
| options? | { timeout?: number, assertionTimeout?: number, interval?: number, retries?: number, soft?: boolean } | |
shouldNotHaveInnerTextPerOptionValue | optionValue | string | Checks if the element's option does not contain a particular combination of value of the value attribute and inner text |
| innerText | string | |
| options? | { timeout?: number, assertionTimeout?: number, interval?: number, retries?: number, soft?: boolean } | |
shouldHaveInnerTextsPerOptionValues | optionValues | string[] | Checks if the element's option list contain a particular combination of values of the value attribute and inner texts |
| innerTexts | string[] | |
| options? | { timeout?: number, assertionTimeout?: number, interval?: number, retries?: number, soft?: boolean } | |