playwright/packages
Dmitry Gozman f587a43932
feat(locator): "has" option (#11411)
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`.
2022-02-02 16:55:50 -08:00
..
html-reporter chore: fix html report bottom padding (#11541) 2022-01-21 13:58:55 +01:00
playwright chore: pin production dependencies (#11793) 2022-02-02 11:14:41 +01:00
playwright-chromium chore: pin production dependencies (#11793) 2022-02-02 11:14:41 +01:00
playwright-core feat(locator): "has" option (#11411) 2022-02-02 16:55:50 -08:00
playwright-firefox chore: pin production dependencies (#11793) 2022-02-02 11:14:41 +01:00
playwright-test chore: pin production dependencies (#11793) 2022-02-02 11:14:41 +01:00
playwright-webkit chore: pin production dependencies (#11793) 2022-02-02 11:14:41 +01:00
.eslintrc.js chore: don't write into stdout from the test runner, use reporters instead (#11367) 2022-01-12 19:52:40 -08:00