Skip to main content
Version: 19.9.1

Page.screenshot() method

Signature:

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

Parameters

ParameterTypeDescription
optionsScreenshotOptions(Optional)

Returns:

Promise<Buffer | string>