Skip to main content
Module

x/puppeteer_plus/mod.ts>Protocol.Runtime.RemoteObject

Deno port of puppeteer base on latest TypeScript source.
Go to Latest
interface Protocol.Runtime.RemoteObject
import { type Protocol } from "https://deno.land/x/puppeteer_plus@0.14.0/mod.ts";
const { RemoteObject } = Protocol.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
webDriverValue: WebDriverValue

WebDriver BiDi representation of the value.

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