Skip to main content
Module

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

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

Object property descriptor.

Properties

name: string

Property name or symbol description.

optional
value: RemoteObject

The value associated with the property.

optional
writable: boolean

True if the value associated with the property may be changed (data descriptors only).

optional
get: RemoteObject

A function which serves as a getter for the property, or undefined if there is no getter (accessor descriptors only).

optional
set: RemoteObject

A function which serves as a setter for the property, or undefined if there is no setter (accessor descriptors only).

configurable: boolean

True if the type of this property descriptor may be changed and if the property may be deleted from the corresponding object.

enumerable: boolean

True if this property shows up during enumeration of the properties on the corresponding object.

optional
wasThrown: boolean

True if the result was thrown during the evaluation.

optional
isOwn: boolean

True if the property is owned for the object.

optional
symbol: RemoteObject

Property symbol object, if the property is of the symbol type.