docs(python): fix typo in release notes (#11507)
This commit is contained in:
parent
8a6eb0600e
commit
94495c3253
|
|
@ -66,11 +66,11 @@ Read more in [our documentation](./api/class-playwrightassertions).
|
|||
- [`method: Locator.dragTo`]
|
||||
- Each locator can now be optionally filtered by the text it contains:
|
||||
```python async
|
||||
await page.locator("li", has_text="my item")).locator("button").click()
|
||||
await page.locator("li", has_text="my item").locator("button").click()
|
||||
```
|
||||
|
||||
```python sync
|
||||
page.locator("li", has_text="my item")).locator("button").click()
|
||||
page.locator("li", has_text="my item").locator("button").click()
|
||||
```
|
||||
|
||||
Read more in [locator documentation](./api/class-locator#locator-locator-option-has-text)
|
||||
|
|
|
|||
Loading…
Reference in a new issue