Skip to main content
Version: 22.7.1

Page.screenshot() method

Signature:

class Page {
screenshot(options?: Readonly<ScreenshotOptions>): Promise<Buffer>;
}

Parameters

Parameter

Type

Description

options

Readonly<ScreenshotOptions>

(Optional)

Returns:

Promise<Buffer>