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`.
|
||
|---|---|---|
| .. | ||
| cli-codegen-1.spec.ts | ||
| cli-codegen-2.spec.ts | ||
| cli-codegen-csharp.spec.ts | ||
| cli-codegen-java.spec.ts | ||
| cli-codegen-javascript.spec.ts | ||
| cli-codegen-python-async.spec.ts | ||
| cli-codegen-python.spec.ts | ||
| cli-codegen-test.spec.ts | ||
| console-api.spec.ts | ||
| inspectorTest.ts | ||
| pause.spec.ts | ||