Back to Puppeteer

Page.isDragInterceptionEnabled() method

docs/api/puppeteer.page.isdraginterceptionenabled.md

19.2.2462 B
Original Source

Page.isDragInterceptionEnabled() method

Warning: This API is now obsolete.

We no longer support intercepting drag payloads. Use the new drag APIs found on ElementHandle to drag (or just use the Page.mouse).

true if drag events are being intercepted, false otherwise.

Signature

typescript
class Page {
  abstract isDragInterceptionEnabled(): boolean;
}

Returns:

boolean