puppeteer/new-docs/puppeteer.protocol.runtime.custompreview.bodygetterid.md
2020-07-13 14:01:35 +01:00

733 B

Home > puppeteer > Protocol > Runtime > CustomPreview > bodyGetterId

Protocol.Runtime.CustomPreview.bodyGetterId property

If formatter returns true as a result of formatter.hasBody call then bodyGetterId will contain RemoteObjectId for the function that returns result of formatter.body(object, config) call. The result value is json ML array.

Signature:

bodyGetterId?: RemoteObjectId;