From d96d3c338191eb353612b97b46b535879b111c84 Mon Sep 17 00:00:00 2001 From: Debbie O'Brien Date: Fri, 17 Feb 2023 20:03:22 +0100 Subject: [PATCH] docs: fix release notes (#20994) --- 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 5a8479b70b674..5e4e8f17eb846 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")