<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [WrapElementHandle](./puppeteer.wrapelementhandle.md)

## WrapElementHandle type

Wraps a DOM element into an ElementHandle instance

<b>Signature:</b>

```typescript
export declare type WrapElementHandle<X> = X extends Element ? ElementHandle<X> : X;
```
<b>References:</b> [ElementHandle](./puppeteer.elementhandle.md)