Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
interface default.Runtime.CustomPreview
import { type default } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.d.ts";
const { CustomPreview } = default.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.