puppeteer/website/versioned_docs/version-19.1.1/api/puppeteer.handlefor.md

16 lines
275 B
Markdown
Raw Normal View History

---
sidebar_label: HandleFor
---
# HandleFor type
2022-10-24 11:58:47 +00:00
#### Signature:
```typescript
export declare type HandleFor<T> = T extends Node
? ElementHandle<T>
: JSHandle<T>;
```
**References:** [ElementHandle](./puppeteer.elementhandle.md), [JSHandle](./puppeteer.jshandle.md)