puppeteer/docs/api/puppeteer.elementhandle.screenshot_1.md
2023-10-30 11:02:43 +01:00

573 B

sidebar_label
ElementHandle.screenshot_1

ElementHandle.screenshot() method

Signature:

class ElementHandle {
  screenshot(options?: Readonly<ScreenshotOptions>): Promise<Buffer>;
}

Parameters

Parameter Type Description
options Readonly<ScreenshotOptions> (Optional)

Returns:

Promise<Buffer>