puppeteer/docs/api/puppeteer.screenshotoptions.fromsurface.md
2022-07-01 11:52:39 +00:00

251 B

sidebar_label
ScreenshotOptions.fromSurface

ScreenshotOptions.fromSurface property

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

Signature:

interface ScreenshotOptions {
  fromSurface?: boolean;
}