This introduces `locator('div', { has: locator })` syntax that matches elements containing other elements.
Can be used together with `hasText`.
Internally, has selector engine takes an inner selector escaped with double-quotes:
`div >> has="li >> span >> text=Foo" >> span`.
|
||
|---|---|---|
| .. | ||
| html-reporter | ||
| playwright | ||
| playwright-chromium | ||
| playwright-core | ||
| playwright-firefox | ||
| playwright-test | ||
| playwright-webkit | ||
| .eslintrc.js | ||