puppeteer/new-docs/puppeteer.pdfoptions.path.md
Jack Franklin 9fdf2ba280
chore(docs): migrate page.pdf() docs (#6228)
Also took the opportunity to pull out the PDF types into their own file
to clear up `Page.ts` slightly and give the PDF code a more natural
place to live.
2020-07-17 13:58:56 +01:00

450 B

Home > puppeteer > PDFOptions > path

PDFOptions.path property

The path to save the file to.

Signature:

path?: string;

Remarks

If the path is relative, it's resolved relative to the current working directory.