diff --git a/docs/api/web-contents.md b/docs/api/web-contents.md index 2163678d82b4..8d1b4caa36cf 100644 --- a/docs/api/web-contents.md +++ b/docs/api/web-contents.md @@ -1135,6 +1135,7 @@ Disable device emulation enabled by `webContents.enableDeviceEmulation`. `numLock`, `left`, `right`. Sends an input `event` to the page. +'BrowserWindow` needs to be focused for `sendInputEvent()` to work. For keyboard events, the `event` object also have following properties: