Skip to main content
Version: Next

Page.screenshot() method

Signature:

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

Parameters

ParameterTypeDescription
optionsScreenshotOptions(Optional)

Returns:

Promise<Buffer | string>