From 84f1d78558cb2cf6765191299c9b03ad59c0e6b4 Mon Sep 17 00:00:00 2001 From: Maciej Krawczyk Date: Tue, 4 Jan 2022 02:12:55 +0100 Subject: [PATCH] docs: correct webFrame description (#32205) The current description incorrectly states that the webFrame export represents the top frame but it actually represents the current frame. --- 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 1d6da963a2cb..9384fe2c9861 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%.