puppeteer/docs/api/puppeteer.page.pdf.md
2023-02-23 13:31:23 +01:00

24 lines
416 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) | _(Optional)_ |
**Returns:**
Promise&lt;Buffer&gt;