Skip to main content
Version: Next

Page.captureHeapSnapshot() method

Captures a snapshot of the JavaScript heap and writes it to a file.

Signature

class Page {
abstract captureHeapSnapshot(options: HeapSnapshotOptions): Promise<void>;
}

Parameters

Parameter

Type

Description

options

HeapSnapshotOptions

Returns:

Promise<void>