puppeteer/website/versioned_docs/version-19.5.1/api/puppeteer.page.pdf.md
2023-01-11 16:26:44 +01:00

431 B

sidebar_label
Page.pdf

Page.pdf() method

Signature:

class Page {
  pdf(options?: PDFOptions): Promise<Buffer>;
}

Parameters

Parameter Type Description
options PDFOptions (Optional)

Returns:

Promise<Buffer>