Add insertText to WebContents
This commit is contained in:
parent
5567baf335
commit
5b7d1a9890
6 changed files with 44 additions and 2 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue