puppeteer/new-docs/puppeteer.protocol.runtime.propertydescriptor.md

30 lines
2.4 KiB
Markdown
Raw Normal View History

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [Protocol](./puppeteer.protocol.md) &gt; [Runtime](./puppeteer.protocol.runtime.md) &gt; [PropertyDescriptor](./puppeteer.protocol.runtime.propertydescriptor.md)
## Protocol.Runtime.PropertyDescriptor interface
Object property descriptor.
<b>Signature:</b>
```typescript
export interface PropertyDescriptor
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [configurable](./puppeteer.protocol.runtime.propertydescriptor.configurable.md) | boolean | True if the type of this property descriptor may be changed and if the property may be deleted from the corresponding object. |
| [enumerable](./puppeteer.protocol.runtime.propertydescriptor.enumerable.md) | boolean | True if this property shows up during enumeration of the properties on the corresponding object. |
| [get](./puppeteer.protocol.runtime.propertydescriptor.get.md) | [RemoteObject](./puppeteer.protocol.runtime.remoteobject.md) | A function which serves as a getter for the property, or <code>undefined</code> if there is no getter (accessor descriptors only). |
| [isOwn](./puppeteer.protocol.runtime.propertydescriptor.isown.md) | boolean | True if the property is owned for the object. |
| [name](./puppeteer.protocol.runtime.propertydescriptor.name.md) | string | Property name or symbol description. |
| [set](./puppeteer.protocol.runtime.propertydescriptor.set.md) | [RemoteObject](./puppeteer.protocol.runtime.remoteobject.md) | A function which serves as a setter for the property, or <code>undefined</code> if there is no setter (accessor descriptors only). |
| [symbol](./puppeteer.protocol.runtime.propertydescriptor.symbol.md) | [RemoteObject](./puppeteer.protocol.runtime.remoteobject.md) | Property symbol object, if the property is of the <code>symbol</code> type. |
| [value](./puppeteer.protocol.runtime.propertydescriptor.value.md) | [RemoteObject](./puppeteer.protocol.runtime.remoteobject.md) | The value associated with the property. |
| [wasThrown](./puppeteer.protocol.runtime.propertydescriptor.wasthrown.md) | boolean | True if the result was thrown during the evaluation. |
| [writable](./puppeteer.protocol.runtime.propertydescriptor.writable.md) | boolean | True if the value associated with the property may be changed (data descriptors only). |