puppeteer/website/versioned_docs/version-19.1.0/api/puppeteer.handlefor.md
2022-10-21 15:52:43 +02:00

16 lines
274 B
Markdown

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