Docs : Add requirement for 'webContents.sendInputEvent()` to work.
This commit is contained in:
parent
973945a8e3
commit
a1da54047a
1 changed files with 1 additions and 1 deletions
|
@ -1135,7 +1135,7 @@ Disable device emulation enabled by `webContents.enableDeviceEmulation`.
|
||||||
`numLock`, `left`, `right`.
|
`numLock`, `left`, `right`.
|
||||||
|
|
||||||
Sends an input `event` to the page.
|
Sends an input `event` to the page.
|
||||||
'BrowserWindow` needs to be focused for `sendInputEvent()` to work.
|
'Browser Window` needs to be focused for `sendInputEvent()` to work.
|
||||||
|
|
||||||
For keyboard events, the `event` object also have following properties:
|
For keyboard events, the `event` object also have following properties:
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue