From cefa1bb82f58d3d7b43cda98aff481f7672a6e1c Mon Sep 17 00:00:00 2001 From: "trop[bot]" <37223003+trop[bot]@users.noreply.github.com> Date: Tue, 4 Jan 2022 16:04:11 +0900 Subject: [PATCH] docs: correct webFrame description (#32326) The current description incorrectly states that the webFrame export represents the top frame but it actually represents the current frame. Co-authored-by: Maciej Krawczyk --- docs/api/web-frame.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/api/web-frame.md b/docs/api/web-frame.md index 98fa952c83fbc..2045e97ea7551 100644 --- a/docs/api/web-frame.md +++ b/docs/api/web-frame.md @@ -5,8 +5,8 @@ Process: [Renderer](../glossary.md#renderer-process) `webFrame` export of the Electron module is an instance of the `WebFrame` -class representing the top frame of the current `BrowserWindow`. Sub-frames can -be retrieved by certain properties and methods (e.g. `webFrame.firstChild`). +class representing the current frame. Sub-frames can be retrieved by +certain properties and methods (e.g. `webFrame.firstChild`). An example of zooming current page to 200%.