[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Page](./puppeteer.protocol.page.md) > [CaptureScreenshotRequest](./puppeteer.protocol.page.capturescreenshotrequest.md) > [fromSurface](./puppeteer.protocol.page.capturescreenshotrequest.fromsurface.md) ## Protocol.Page.CaptureScreenshotRequest.fromSurface property Capture the screenshot from the surface, rather than the view. Defaults to true. Signature: ```typescript fromSurface?: boolean; ```