puppeteer/docs/api/puppeteer.page.pdf.md
2022-07-01 11:52:39 +00:00

24 lines
430 B
Markdown

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