docs(selectors.md): fix typo (#13569)
This commit is contained in:
parent
2f570fa586
commit
05f67d27cc
|
|
@ -498,7 +498,7 @@ You can also pass a regular expression.
|
|||
|
||||
### Filter by another locator
|
||||
|
||||
Locators support an option to only select elements that have a descendant matching antoher locator.
|
||||
Locators support an option to only select elements that have a descendant matching another locator.
|
||||
|
||||
```js
|
||||
page.locator('article', { has: page.locator('button.subscribe') })
|
||||
|
|
|
|||
Loading…
Reference in a new issue