docs(new): migrate ElementHandle to TSDoc (#6073)

* docs(new): migrate ElementHandle to TSDoc

Co-authored-by: Alex Rudenko <alexrudenko@chromium.org>
This commit is contained in:
Alex Rudenko
2020-06-22 17:21:57 +02:00
committed by GitHub
parent 7025f1c5ea
commit 6657364364
71 changed files with 973 additions and 267 deletions

View File

@@ -4,6 +4,8 @@
## ElementHandle.screenshot() method
This method scrolls element into view if needed, and then uses [Page.screenshot()](./puppeteer.page.screenshot.md) to take a screenshot of the element. If the element is detached from DOM, the method throws an error.
<b>Signature:</b>
```typescript