puppeteer/docs/api/puppeteer.handlefor.md

14 lines
263 B
Markdown
Raw Normal View History

2022-07-05 13:41:43 +00:00
---
sidebar_label: HandleFor
---
# HandleFor type
#### Signature:
2022-07-05 13:41:43 +00:00
```typescript
export type HandleFor<T> = T extends Node ? ElementHandle<T> : JSHandle<T>;
2022-07-05 13:41:43 +00:00
```
**References:** [ElementHandle](./puppeteer.elementhandle.md), [JSHandle](./puppeteer.jshandle.md)