Skip to content

Commit b62f1fd

Browse files
Add missing return type on executeJavaScript
1 parent a80148a commit b62f1fd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/api/web-frame.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,9 @@ Inserts `text` to the focused element.
136136
* `callback` Function (optional) - Called after script has been executed.
137137
* `result` Any
138138

139+
Returns `Promise` - A promise that resolves with the result of the executed code
140+
or is rejected if the result of the code is a rejected promise.
141+
139142
Evaluates `code` in page.
140143

141144
In the browser window some HTML APIs like `requestFullScreen` can only be

0 commit comments

Comments
 (0)