Skip to content

Commit

Permalink
docs: fix typo (#10705)
Browse files Browse the repository at this point in the history
  • Loading branch information
lino-levan committed Aug 8, 2023
1 parent 8b8770c commit 6d1b861
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guides/evaluate-javascript.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ const body = await page.evaluateHandle(() => {
console.log(body instanceof ElementHandle); // true
```

The returned object is either a `JSHandle` or a `ElementHandle`. `ElementHandle` extends `JSONHandle` and it is only created for DOM elements.
The returned object is either a `JSHandle` or a `ElementHandle`. `ElementHandle` extends `JSHandle` and it is only created for DOM elements.

See the [API documentation](https://pptr.dev/api) for more details about what methods are available for handles.

Expand Down

0 comments on commit 6d1b861

Please sign in to comment.