From 7d7628a2e9953f9ec997103c6c3402d960946f40 Mon Sep 17 00:00:00 2001 From: Max Schmitt Date: Wed, 6 Mar 2024 08:23:24 +0100 Subject: [PATCH] Update docs/src/release-notes-python.md Co-authored-by: Dmitry Gozman Signed-off-by: Max Schmitt --- 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 e201c4c256..6f97569335 100644 --- a/docs/src/release-notes-python.md +++ b/docs/src/release-notes-python.md @@ -18,7 +18,7 @@ page.add_locator_handler( ) # Write the test as usual. page.goto("https://www.ikea.com/") -page.getByRole("link", name="Collection of blue and white").click() +page.get_by_role("link", name="Collection of blue and white").click() expect(page.getByRole("heading", name="Light and easy")).to_be_visible() ```