docs: fix typo (#10705)

This commit is contained in:
Lino Le Van 2023-08-07 23:09:34 -07:00 committed by GitHub
parent 8b8770c004
commit 6d1b861895
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.