From 4413b01e4038191b0d0d83f1549a2e3d2cf05f46 Mon Sep 17 00:00:00 2001 From: Debbie O'Brien Date: Fri, 17 Feb 2023 20:03:22 +0100 Subject: [PATCH] cherry-pick(#20994): docs: fix release notes --- docs/src/release-notes-python.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/release-notes-python.md b/docs/src/release-notes-python.md index 7fb1fa3f18c6c..f49a6cb36f90b 100644 --- a/docs/src/release-notes-python.md +++ b/docs/src/release-notes-python.md @@ -11,7 +11,7 @@ toc_max_heading_level: 2 - New assertion [`method: LocatorAssertions.toBeInViewport`] ensures that locator points to an element that intersects viewport, according to the [intersection observer API](https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API). - ```python sync + ```python from playwright.sync_api import expect locator = page.get_by_role("button")