puppeteer/website/versioned_docs/version-19.5.1/api/puppeteer.screenshotoptions.fromsurface.md
2023-01-11 16:26:44 +01:00

281 B

sidebar_label
ScreenshotOptions.fromSurface

ScreenshotOptions.fromSurface property

Capture the screenshot from the surface, rather than the view.

Signature:

interface ScreenshotOptions {
  fromSurface?: boolean;
}

Default value:

true