docs: fix release notes (#20994)

This commit is contained in:
Debbie O'Brien 2023-02-17 20:03:22 +01:00 committed by GitHub
parent c0d9aa2c49
commit d96d3c3381
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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