mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
2.4 KiB
2.4 KiB
Home > puppeteer > Protocol > Runtime > RemoteObject
Protocol.Runtime.RemoteObject interface
Mirror object referencing original JavaScript object.
Signature:
export interface RemoteObject
Properties
Property | Type | Description |
---|---|---|
className | string | Object class (constructor) name. Specified for object type values only. |
customPreview | CustomPreview | |
description | string | String representation of the object. |
objectId | RemoteObjectId | Unique object identifier (for non-primitive values). |
preview | ObjectPreview | Preview containing abbreviated property values. Specified for object type values only. |
subtype | ('array' | 'null' | 'node' | 'regexp' | 'date' | 'map' | 'set' | 'weakmap' | 'weakset' | 'iterator' | 'generator' | 'error' | 'proxy' | 'promise' | 'typedarray' | 'arraybuffer' | 'dataview' | 'i32' | 'i64' | 'f32' | 'f64' | 'v128' | 'anyref') | Object subtype hint. Specified for object or wasm type values only. |
type | ('object' | 'function' | 'undefined' | 'string' | 'number' | 'boolean' | 'symbol' | 'bigint' | 'wasm') | Object type. |
unserializableValue | UnserializableValue | Primitive value which can not be JSON-stringified does not have value , but gets this property. |
value | any | Remote object value in case of primitive values or JSON values (if it was requested). |