puppeteer/new-docs/puppeteer.protocol.headlessexperimental.beginframerequest.screenshot.md
2020-07-13 14:01:35 +01:00

851 B

Home > puppeteer > Protocol > HeadlessExperimental > BeginFrameRequest > screenshot

Protocol.HeadlessExperimental.BeginFrameRequest.screenshot property

If set, a screenshot of the frame will be captured and returned in the response. Otherwise, no screenshot will be captured. Note that capturing a screenshot can fail, for example, during renderer initialization. In such a case, no screenshot data will be returned.

Signature:

screenshot?: ScreenshotParams;