2020-06-04 14:56:45 +00:00
|
|
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
|
|
|
|
[Home](./index.md) > [puppeteer](./puppeteer.md) > [JSHandle](./puppeteer.jshandle.md) > [getProperty](./puppeteer.jshandle.getproperty.md)
|
|
|
|
|
|
|
|
## JSHandle.getProperty() method
|
|
|
|
|
2020-06-25 14:49:35 +00:00
|
|
|
Fetches a single property from the referenced object.
|
|
|
|
|
2020-06-04 14:56:45 +00:00
|
|
|
<b>Signature:</b>
|
|
|
|
|
|
|
|
```typescript
|
|
|
|
getProperty(propertyName: string): Promise<JSHandle | undefined>;
|
|
|
|
```
|
|
|
|
|
|
|
|
## Parameters
|
|
|
|
|
|
|
|
| Parameter | Type | Description |
|
|
|
|
| --- | --- | --- |
|
|
|
|
| propertyName | string | |
|
|
|
|
|
|
|
|
<b>Returns:</b>
|
|
|
|
|
|
|
|
Promise<[JSHandle](./puppeteer.jshandle.md) \| undefined>
|
|
|
|
|