puppeteer/docs/api/puppeteer.jshandle.getproperty_1.md

24 lines
416 B
Markdown
Raw Normal View History

2022-07-05 13:41:43 +00:00
---
sidebar_label: JSHandle.getProperty_1
---
# JSHandle.getProperty() method
#### Signature:
2022-07-05 13:41:43 +00:00
```typescript
class JSHandle {
getProperty(propertyName: string): Promise<JSHandle<unknown>>;
2022-07-05 13:41:43 +00:00
}
```
## Parameters
| Parameter | Type | Description |
| ------------ | ------ | ----------- |
| propertyName | string | |
**Returns:**
Promise&lt;[JSHandle](./puppeteer.jshandle.md)&lt;unknown&gt;&gt;