diff --git a/docs/api/web-contents.md b/docs/api/web-contents.md index 4b78c54b3e51..9ccc7b1b5d94 100644 --- a/docs/api/web-contents.md +++ b/docs/api/web-contents.md @@ -1650,6 +1650,10 @@ Takes a V8 heap snapshot and saves it to `filePath`. Controls whether or not this WebContents will throttle animations and timers when the page becomes backgrounded. This also affects the Page Visibility API. +#### `contents.getType()` + +Returns `String` - the type of the webContent. Can be `backgroundPage`, `window`, `browserView`, `remote`, `webview` or `offscreen`. + ### Instance Properties #### `contents.id`