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

1.4 KiB

Home > puppeteer > Protocol > Runtime > PropertyPreview

Protocol.Runtime.PropertyPreview interface

Signature:

export interface PropertyPreview 

Properties

Property Type Description
name string Property name.
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' | 'accessor' | 'bigint') Object type. Accessor means that the property itself is an accessor property.
value string User-friendly property value string.
valuePreview ObjectPreview Nested value preview.