From 5c20605647a93f3ad2963cdb4722cd5251e7a628 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 1d6da963a2cb0..9384fe2c98613 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%.