mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
9b120f6c7b
* chore(main): release 17.1.3 * chore: generate versioned docs Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
24 lines
430 B
Markdown
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<Buffer>
|