Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/sinco/deps.ts>Protocol.Runtime.PropertyPreview

Browser Automation and Testing Tool for Deno, written in full TypeScript
Latest
interface Protocol.Runtime.PropertyPreview
import { type Protocol } from "https://deno.land/x/sinco@v4.1.0/deps.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)