Skip to main content
Go to Latest
interface Protocol.Runtime.ObjectPreview
import { type Protocol } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.js";
const { ObjectPreview } = Protocol.Runtime;

Object containing abbreviated remote object value.

Properties

type: (
| "object"
| "function"
| "undefined"
| "string"
| "number"
| "boolean"
| "symbol"
| "bigint"
)

Object type. (ObjectPreviewType enum)

optional
subtype: (
| "array"
| "null"
| "node"
| "regexp"
| "date"
| "map"
| "set"
| "weakmap"
| "weakset"
| "iterator"
| "generator"
| "error"
| "proxy"
| "promise"
| "typedarray"
| "arraybuffer"
| "dataview"
| "webassemblymemory"
| "wasmvalue"
)

Object subtype hint. Specified for object type values only. (ObjectPreviewSubtype enum)

optional
description: string

String representation of the object.

overflow: boolean

True iff some of the properties or entries of the original object did not fit.

properties: PropertyPreview[]

List of the properties.

optional
entries: EntryPreview[]

List of the entries. Specified for map and set subtype values only.