Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 626 Bytes

puppeteer.page.screenshot_1.md

File metadata and controls

27 lines (20 loc) · 626 Bytes
sidebar_label
Page.screenshot_1

Page.screenshot() method

Signature:

class Page {
  screenshot(
    options?: ScreenshotOptions & {
      encoding?: 'binary';
    }
  ): Promise<Buffer>;
}

Parameters

Parameter Type Description
options ScreenshotOptions & { encoding?: 'binary'; } (Optional)

Returns:

Promise<Buffer>