Expect(Locator).ToBeCheckedAsync() | Checkbox is checked |
Expect(Locator).ToBeDisabledAsync() | Element is disabled |
Expect(Locator).ToBeEditableAsync() | Element is editable |
Expect(Locator).ToBeEmptyAsync() | Container is empty |
Expect(Locator).ToBeEnabledAsync() | Element is enabled |
Expect(Locator).ToBeFocusedAsync() | Element is focused |
Expect(Locator).ToBeHiddenAsync() | Element is not visible |
Expect(Locator).ToBeVisibleAsync() | Element is visible |
Expect(Locator).ToContainTextAsync() | Element contains text |
Expect(Locator).ToHaveAttributeAsync() | Element has a DOM attribute |
Expect(Locator).ToHaveClassAsync() | Element has a class property |
Expect(Locator).ToHaveCountAsync() | List has exact number of children |
Expect(Locator).ToHaveCSSAsync() | Element has CSS property |
Expect(Locator).ToHaveIdAsync() | Element has an ID |
Expect(Locator).ToHaveJSPropertyAsync() | Element has a JavaScript property |
Expect(Locator).ToHaveTextAsync() | Element matches text |
Expect(Locator).ToHaveValueAsync() | Input has a value |
Expect(Locator).ToHaveValuesAsync() | Select has options selected |
Expect(Page).ToHaveTitleAsync() | Page has a title |
Expect(Page).ToHaveURLAsync() | Page has a URL |
Expect(ApiResponse).ToBeOKAsync() | Response has an OK status |