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.
>
2024-01-24 13:01:55 +00:00
> 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.md)).
2023-09-19 13:03:19 +00:00
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>