Skip to content

Commit

Permalink
doc: change ambiguous phrase in api.md (puppeteer#410)
Browse files Browse the repository at this point in the history
  • Loading branch information
vsemozhetbyt authored and aslushnikov committed Aug 20, 2017
1 parent 292c7a2 commit 281db8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -1138,7 +1138,7 @@ The `elementHandle.dispose` method stops referencing the element handle.
- returns: <[Promise]<[Serializable]>> Promise which resolves to function return value

If the function, passed to the `elementHandle.evaluate`, returns a [Promise], then `elementHandle.evaluate` would wait for the promise to resolve and return it's value.
The function will be passed in the element ifself as a first argument.
The element will be passed as the first argument to `pageFunction`, followed by any `args`.

#### elementHandle.hover()
- returns: <[Promise]> Promise which resolves when the element is successfully hovered.
Expand Down

0 comments on commit 281db8f

Please sign in to comment.