Docs: Add BrowserWindow needs to be focused for webContents.sendInputEvent() to work.

This commit is contained in:
Rajat 2017-05-29 20:10:32 +05:30
parent ec6eb74ccc
commit 973945a8e3

View file

@ -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: