Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

docs: fix release notes (#20994)

Debbie O'Briend96d3c338191
diff --git a/docs/src/release-notes-python.md b/docs/src/release-notes-python.md
index 5a8479b70b..5e4e8f17eb 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")