2022-08-06 14:49:20 +00:00
---
sidebar_label: Page.setDragInterception
---
# Page.setDragInterception() method
2023-09-19 13:03:19 +00:00
> Warning: This API is now obsolete.
>
> We no longer support intercepting drag payloads. Use the new drag APIs found on [ElementHandle](./puppeteer.elementhandle.md) to drag (or just use the [Page.mouse](./puppeteer.page.mouse.md)).
2022-10-24 14:31:12 +00:00
#### Signature:
2022-08-06 14:49:20 +00:00
```typescript
class Page {
2023-11-15 10:48:54 +00:00
abstract setDragInterception(enabled: boolean): Promise< void > ;
2022-08-06 14:49:20 +00:00
}
```
## Parameters
| Parameter | Type | Description |
| --------- | ------- | ------------------------------------ |
| enabled | boolean | Whether to enable drag interception. |
**Returns:**
Promise< void>