Skip to main content
Version: 19.8.5

Page.screenshot() method

Signature:

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

Parameters

ParameterTypeDescription
optionsScreenshotOptions(Optional)

Returns:

Promise<Buffer | string>