mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
7e28dbafb5
This patch: - adds `ElementHandle.boundingBox()` method to get bounding box of element relative to the page - adds `ElementHandle.screenshot()` method to capture a screenshot of an element |
||
---|---|---|
.. | ||
grid-cell-0.png | ||
grid-cell-1.png | ||
grid-cell-2.png | ||
grid-cell-3.png | ||
nested-frames.txt | ||
screenshot-clip-rect.png | ||
screenshot-element-bounding-box.png | ||
screenshot-grid-fullpage.png | ||
screenshot-offscreen-clip.png | ||
screenshot-sanity.png | ||
transparent.png |