playwright/packages/playwright-core
Dmitry Gozman 05b623e6b0
feat(locators): asLocator supports internal:has= (#18625)
The following snippet:
```js
rowLocator
    .filter({ hasText: 'John' })
    .filter({ has: page.getByRole('button', { name: 'Say hello' }) })

```

is shown in the logs:

```log
pw:api waiting for getByRole('listitem').filter({ hasText: 'John' }).filter({ has: getByRole('button', { name: 'Say hello' }) })
```
2022-11-08 08:47:02 -08:00
..
2021-10-11 16:52:17 +02:00
2021-10-11 16:52:17 +02:00
2022-08-15 18:10:04 +02:00
2022-10-05 15:30:35 -07:00

playwright-core

This package contains the no-browser flavor of Playwright.