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' }) })
```
|
||
|---|---|---|
| .. | ||
| android | ||
| assets | ||
| components | ||
| config | ||
| electron | ||
| installation | ||
| library | ||
| page | ||
| playwright-test | ||
| stress | ||
| webview2 | ||
| index.d.ts | ||
| tsconfig.json | ||