Add missing return type on executeJavaScript

This commit is contained in:
Samuel Attard 2017-03-25 14:59:48 +11:00
parent a80148aa29
commit b62f1fd022
No known key found for this signature in database
GPG key ID: 273DC1869D8F13EF

View file

@ -136,6 +136,9 @@ Inserts `text` to the focused element.
* `callback` Function (optional) - Called after script has been executed.
* `result` Any
Returns `Promise` - A promise that resolves with the result of the executed code
or is rejected if the result of the code is a rejected promise.
Evaluates `code` in page.
In the browser window some HTML APIs like `requestFullScreen` can only be