Update docs/src/release-notes-python.md

Co-authored-by: Dmitry Gozman <dgozman@gmail.com>
Signed-off-by: Max Schmitt <max@schmitt.mx>
This commit is contained in:
Max Schmitt 2024-03-06 08:23:29 +01:00 committed by GitHub
parent 7d7628a2e9
commit dc315a4397
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -19,7 +19,7 @@ page.add_locator_handler(
# Write the test as usual.
page.goto("https://www.ikea.com/")
page.get_by_role("link", name="Collection of blue and white").click()
expect(page.getByRole("heading", name="Light and easy")).to_be_visible()
expect(page.get_by_role("heading", name="Light and easy")).to_be_visible()
```
### New APIs