Browse Source

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.
Maciej Krawczyk 3 years ago
parent
commit
84f1d78558
1 changed files with 2 additions and 2 deletions
  1. 2 2
      docs/api/web-frame.md

+ 2 - 2
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%.