Back to Puppeteer

HeapSnapshotOptions interface

docs/api/puppeteer.heapsnapshotoptions.md

19.2.2509 B
Original Source

HeapSnapshotOptions interface

Options for Page.captureHeapSnapshot().

Signature

typescript
export interface HeapSnapshotOptions

Properties

<table><thead><tr><th>

Property

</th><th>

Modifiers

</th><th>

Type

</th><th>

Description

</th><th>

Default

</th></tr></thead> <tbody><tr><td>

<span id="path">path</span>

</td><td> </td><td>

string

</td><td>

The file path to save the heap snapshot to.

</td><td> </td></tr> </tbody></table>