mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
2.4 KiB
2.4 KiB
Home > puppeteer > Protocol > Runtime > PropertyDescriptor
Protocol.Runtime.PropertyDescriptor interface
Object property descriptor.
Signature:
export interface PropertyDescriptor
Properties
| Property | Type | Description |
|---|---|---|
| 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. |
| get | RemoteObject | A function which serves as a getter for the property, or undefined if there is no getter (accessor descriptors only). |
| isOwn | boolean | True if the property is owned for the object. |
| name | string | Property name or symbol description. |
| set | RemoteObject | A function which serves as a setter for the property, or undefined if there is no setter (accessor descriptors only). |
| symbol | RemoteObject | Property symbol object, if the property is of the symbol type. |
| value | RemoteObject | The value associated with the property. |
| wasThrown | boolean | True if the result was thrown during the evaluation. |
| writable | boolean | True if the value associated with the property may be changed (data descriptors only). |