23 lines
554 B
Markdown
23 lines
554 B
Markdown
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||
|
|
||
|
[Home](./index.md) > [puppeteer](./puppeteer.md) > [ElementHandle](./puppeteer.elementhandle.md) > [screenshot](./puppeteer.elementhandle.screenshot.md)
|
||
|
|
||
|
## ElementHandle.screenshot() method
|
||
|
|
||
|
<b>Signature:</b>
|
||
|
|
||
|
```typescript
|
||
|
screenshot(options?: {}): Promise<string | Buffer | void>;
|
||
|
```
|
||
|
|
||
|
## Parameters
|
||
|
|
||
|
| Parameter | Type | Description |
|
||
|
| --- | --- | --- |
|
||
|
| options | {} | |
|
||
|
|
||
|
<b>Returns:</b>
|
||
|
|
||
|
Promise<string \| Buffer \| void>
|
||
|
|