From 04aa38a6639452df1a34cd7c186ecc2a0f706c40 Mon Sep 17 00:00:00 2001 From: Pavel Feldman Date: Wed, 8 Dec 2021 12:49:50 -0800 Subject: [PATCH] docs: nit fixes (#10805) --- docs/src/api/class-framelocator.md | 4 ++-- docs/src/frames.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/src/api/class-framelocator.md b/docs/src/api/class-framelocator.md index c4d73d7335..d05555d442 100644 --- a/docs/src/api/class-framelocator.md +++ b/docs/src/api/class-framelocator.md @@ -41,10 +41,10 @@ await page.frameLocator('.result-frame').first().locator('button').click(); ```python async # Throws if there are several frames in DOM: -await page.frame_locator('.result-frame').locator('button')..click() +await page.frame_locator('.result-frame').locator('button').click() # Works because we explicitly tell locator to pick the first frame: -await page.frame_locator('.result-frame').first.locator('button')..click() +await page.frame_locator('.result-frame').first.locator('button').click() ``` ```python sync diff --git a/docs/src/frames.md b/docs/src/frames.md index a8123a3174..5808eda123 100644 --- a/docs/src/frames.md +++ b/docs/src/frames.md @@ -1,6 +1,6 @@ --- id: frames -title: "Pages and frames" +title: "Frames" ---