Skip to main content
The Deno 2 Release Candidate is here
Learn more
Go to Latest
interface Protocol.Runtime.CustomPreview
import { type Protocol } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.js";
const { CustomPreview } = Protocol.Runtime;

Properties

header: string

The JSON-stringified result of formatter.header(object, config) call. It contains json ML array that represents RemoteObject.

optional
bodyGetterId: RemoteObjectId

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.