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