fe0c74bd52
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
24 lines
507 B
Markdown
24 lines
507 B
Markdown
---
|
|
sidebar_label: Page.screenshot_2
|
|
---
|
|
|
|
# Page.screenshot() method
|
|
|
|
#### Signature:
|
|
|
|
```typescript
|
|
class Page {
|
|
screenshot(options?: ScreenshotOptions): Promise<Buffer | string>;
|
|
}
|
|
```
|
|
|
|
## Parameters
|
|
|
|
| Parameter | Type | Description |
|
|
| --------- | ----------------------------------------------------- | ------------ |
|
|
| options | [ScreenshotOptions](./puppeteer.screenshotoptions.md) | _(Optional)_ |
|
|
|
|
**Returns:**
|
|
|
|
Promise<Buffer \| string>
|