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

Mirror object referencing original JavaScript object.

Properties

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

Object type. (RemoteObjectType 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. NOTE: If you change anything here, make sure to also update subtype in ObjectPreview and PropertyPreview below. (RemoteObjectSubtype enum)

optional
className: string

Object class (constructor) name. Specified for object type values only.

optional
value: any

Remote object value in case of primitive values or JSON values (if it was requested).

optional
unserializableValue: UnserializableValue

Primitive value which can not be JSON-stringified does not have value, but gets this property.

optional
description: string

String representation of the object.

optional
objectId: RemoteObjectId

Unique object identifier (for non-primitive values).

optional
preview: ObjectPreview

Preview containing abbreviated property values. Specified for object type values only.

optional
customPreview: CustomPreview