puppeteer/docs/api/puppeteer.handlefor.md

16 lines
274 B
Markdown
Raw Normal View History

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