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

23 lines
353 B
Markdown
Raw Normal View History

---
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;