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

45 lines
479 B
Markdown
Raw Permalink 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
<table><thead><tr><th>
2022-07-05 13:41:43 +00:00
Parameter
</th><th>
Type
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
propertyName
</td><td>
string
</td><td>
</td></tr>
</tbody></table>
2022-07-05 13:41:43 +00:00
**Returns:**
Promise&lt;[JSHandle](./puppeteer.jshandle.md)&lt;unknown&gt;&gt;