puppeteer/docs/api/puppeteer.page.pdf.md

24 lines
416 B
Markdown
Raw Normal View History

2022-07-05 13:41:43 +00:00
---
sidebar_label: Page.pdf
---
# Page.pdf() method
#### Signature:
2022-07-05 13:41:43 +00:00
```typescript
class Page {
pdf(options?: PDFOptions): Promise<Buffer>;
}
```
## Parameters
| Parameter | Type | Description |
| --------- | --------------------------------------- | ------------ |
| options | [PDFOptions](./puppeteer.pdfoptions.md) | _(Optional)_ |
2022-07-05 13:41:43 +00:00
**Returns:**
Promise&lt;Buffer&gt;