puppeteer/new-docs/puppeteer.protocol.runtime.objectpreview.md
2020-07-13 14:01:35 +01:00

1.7 KiB

Home > puppeteer > Protocol > Runtime > ObjectPreview

Protocol.Runtime.ObjectPreview interface

Object containing abbreviated remote object value.

Signature:

export interface ObjectPreview 

Properties

Property Type Description
description string String representation of the object.
entries EntryPreview[] List of the entries. Specified for map and set subtype values only.
overflow boolean True iff some of the properties or entries of the original object did not fit.
properties PropertyPreview[] List of the properties.
subtype ('array' | 'null' | 'node' | 'regexp' | 'date' | 'map' | 'set' | 'weakmap' | 'weakset' | 'iterator' | 'generator' | 'error') Object subtype hint. Specified for object type values only.
type ('object' | 'function' | 'undefined' | 'string' | 'number' | 'boolean' | 'symbol' | 'bigint') Object type.