25 lines
610 B
Markdown
25 lines
610 B
Markdown
|
<!-- 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
|
||
|
|
||
|
Fetches a single property from the referenced object.
|
||
|
|
||
|
<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>
|
||
|
|