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