Skip to main content
Version: Next

Page.screenshot() method

Signature:

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

Parameters

Parameter

Type

Description

options

Readonly<ScreenshotOptions>

(Optional)

Returns:

Promise<Buffer>