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`.
|
||
|---|---|---|
| .. | ||
| cssParser.ts | ||
| cssTokenizer.d.ts | ||
| cssTokenizer.js | ||
| README.md | ||
| selectorParser.ts | ||
| utilityScriptSerializers.ts | ||
Files in this folder are used both in Node.js and injected environments, they can't have dependencies.