diff --git a/docs/src/release-notes-python.md b/docs/src/release-notes-python.md index b065464a18..879ee7be71 100644 --- a/docs/src/release-notes-python.md +++ b/docs/src/release-notes-python.md @@ -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)