Skip to main content
Module

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

Deno port of puppeteer base on latest TypeScript source.
Go to Latest
interface Protocol.Runtime.PropertyPreview
import { type Protocol } from "https://deno.land/x/puppeteer_plus@0.14.0/mod.ts";
const { PropertyPreview } = Protocol.Runtime;

Properties

name: string

Property name.

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

Object type. Accessor means that the property itself is an accessor property. (PropertyPreviewType enum)

optional
value: string

User-friendly property value string.

optional
valuePreview: ObjectPreview

Nested value preview.

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. (PropertyPreviewSubtype enum)