* @description * Allows you to assert whether an element contains another element as a descendant or not. * @example * <span data-testid="ancestor"> * <span data-testid="descendant"></span> * </span> * * const ancestor = page.getByTestId('ancestor') * const descendant = pag
(element: HTMLElement | SVGElement | Locator | null)
| 208 | * @see https://vitest.dev/api/browser/assertions#tocontainelement |
| 209 | */ |
| 210 | toContainElement(element: HTMLElement | SVGElement | Locator | null): R |
| 211 | /** |
| 212 | * @description |
| 213 | * Assert whether a string representing a HTML element is contained in another element. |
no outgoing calls
no test coverage detected