Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Latest
method Mouse.prototype.dragAndDrop
import { Mouse } from "https://deno.land/x/puppeteer@16.2.0/vendor/puppeteer-core/puppeteer/common/Input.d.ts";

Performs a drag, dragenter, dragover, and drop in sequence.

Parameters

start: Point
  • point to drag from
target: Point
  • point to drop on
optional
options: { delay?: number; }
  • An object of options. Accepts delay which, if specified, is the time to wait between dragover and drop in milliseconds. Defaults to 0.

Returns

Promise<void>