diff --git a/docs/api/web-contents.md b/docs/api/web-contents.md index dde77652b29f..8747b0bc722a 100644 --- a/docs/api/web-contents.md +++ b/docs/api/web-contents.md @@ -463,6 +463,10 @@ let currentURL = win.webContents.getURL(); Returns the title of the current web page. +### `webContents.isFocused()` + +Returns a Boolean, whether the web page is focused. + ### `webContents.isLoading()` Returns whether web page is still loading resources.