diff --git a/docs/api/web-contents.md b/docs/api/web-contents.md index 78f7ee333f..c356e8eac6 100644 --- a/docs/api/web-contents.md +++ b/docs/api/web-contents.md @@ -896,10 +896,10 @@ Inserts `text` to the focused element. uppercase letter followed by a lowercase or non-letter. Accepts several other intra-word matches, defaults to `false`. -Starts a request to find all matches for the `text` in the web page and returns -an `Integer` representing the request id used for the request. The result of -the request can be obtained by subscribing to -[`found-in-page`](web-contents.md#event-found-in-page) event. +Returns `Integer` - The request id used for the request. + +Starts a request to find all matches for the `text` in the web page. The result of the request +can be obtained by subscribing to [`found-in-page`](web-contents.md#event-found-in-page) event. #### `contents.stopFindInPage(action)` diff --git a/docs/api/webview-tag.md b/docs/api/webview-tag.md index 5fcc3bffd4..a24312b964 100644 --- a/docs/api/webview-tag.md +++ b/docs/api/webview-tag.md @@ -520,9 +520,10 @@ Inserts `text` to the focused element. uppercase letter followed by a lowercase or non-letter. Accepts several other intra-word matches, defaults to `false`. -Starts a request to find all matches for the `text` in the web page and returns an `Integer` -representing the request id used for the request. The result of the request can be -obtained by subscribing to [`found-in-page`](webview-tag.md#event-found-in-page) event. +Returns `Integer` - The request id used for the request. + +Starts a request to find all matches for the `text` in the web page. The result of the request +can be obtained by subscribing to [`found-in-page`](webview-tag.md#event-found-in-page) event. ### `.stopFindInPage(action)`