mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
503 B
503 B
sidebar_label |
---|
ElementHandle.drag |
ElementHandle.drag() method
This method creates and captures a dragevent from the element.
Signature:
class ElementHandle {
drag(target: Point): Promise<Protocol.Input.DragData>;
}
Parameters
Parameter | Type | Description |
---|---|---|
target | Point |
Returns:
Promise<Protocol.Input.DragData>