Skip to content

Commit

Permalink
docs(api.md): clarify jshandle.getProperties() method (#1594)
Browse files Browse the repository at this point in the history
Fixes #1592
  • Loading branch information
aslushnikov committed Mar 30, 2020
1 parent 43b91e6 commit eabba56
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 @@ -2871,7 +2871,7 @@ See [page.evaluateHandle()](#pageevaluatehandlepagefunction-arg) for more detail
#### jsHandle.getProperties()
- returns: <[Promise]<[Map]<[string], [JSHandle]>>>

The method returns a map with property names as keys and JSHandle instances for the property values.
The method returns a map with **own property names** as keys and JSHandle instances for the property values.

```js
const handle = await page.evaluateHandle(() => ({window, document}));
Expand Down

0 comments on commit eabba56

Please sign in to comment.