Skip to main content
Version: 19.7.2

Page.screenshot() method

Signature:

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

Parameters

ParameterTypeDescription
optionsScreenshotOptions(Optional)

Returns:

Promise<Buffer | string>