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

1.4 KiB

Home > puppeteer > Protocol > Runtime > PrivatePropertyDescriptor

Protocol.Runtime.PrivatePropertyDescriptor interface

Object private field descriptor.

Signature:

export interface PrivatePropertyDescriptor 

Properties

Property Type Description
get RemoteObject A function which serves as a getter for the private property, or undefined if there is no getter (accessor descriptors only).
name string Private property name.
set RemoteObject A function which serves as a setter for the private property, or undefined if there is no setter (accessor descriptors only).
value RemoteObject The value associated with the private property.