From d3f1c34f4a74fd41d8013afdaa42a81610eda762 Mon Sep 17 00:00:00 2001 From: "microsoft-playwright-automation[bot]" <203992400+microsoft-playwright-automation[bot]@users.noreply.github.com> Date: Mon, 1 Sep 2025 10:10:19 +0000 Subject: [PATCH] feat(roll): roll to ToT Playwright (01-09-25) --- python/docs/api/class-locator.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/docs/api/class-locator.mdx b/python/docs/api/class-locator.mdx index bb2976d3c48..9086442a086 100644 --- a/python/docs/api/class-locator.mdx +++ b/python/docs/api/class-locator.mdx @@ -170,14 +170,14 @@ The following example finds a button with a specific title. ```py -button = page.get_by_role("button").and_(page.getByTitle("Subscribe")) +button = page.get_by_role("button").and_(page.get_by_title("Subscribe")) ``` ```py -button = page.get_by_role("button").and_(page.getByTitle("Subscribe")) +button = page.get_by_role("button").and_(page.get_by_title("Subscribe")) ```