docs(python): fix typo in release notes (#11507)

This commit is contained in:
Max Schmitt 2022-01-20 13:36:41 +01:00 committed by GitHub
parent 8a6eb0600e
commit 94495c3253
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)