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

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