Add insertText to WebContents

This commit is contained in:
Cheng Zhao 2016-01-13 11:55:49 +08:00
parent 5567baf335
commit 5b7d1a9890
6 changed files with 44 additions and 2 deletions

View file

@ -472,6 +472,12 @@ Executes the editing command `replace` in web page.
Executes the editing command `replaceMisspelling` in web page.
### `webContents.insertText(text)`
* `text` String
Inserts `text` to the focused element.
### `webContents.findInPage(text[, options])`
* `text` String - Content to be searched, must not be empty.