puppeteer/docs/api/puppeteer.page.screenshot_2.md
2023-09-21 11:09:27 +02:00

516 B

sidebar_label
Page.screenshot_2

Page.screenshot() method

Signature:

class Page {
  abstract screenshot(options?: ScreenshotOptions): Promise<Buffer | string>;
}

Parameters

Parameter Type Description
options ScreenshotOptions (Optional)

Returns:

Promise<Buffer | string>