Drag and drop
dragMove from one element or point to another using real mouse events when CDP is available, with synthetic pointer events as fallback for pointer-based UIs and HTML5 drop zones.
Instructions
Drag from one element/point to another using real mouse events when CDP is available, with synthetic pointer/drag events as fallback. Works for pointer-based UIs and many HTML5 drop zones.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| toX | No | ||
| toY | No | ||
| fromX | No | ||
| fromY | No | ||
| steps | No | ||
| tabId | No | ||
| toRef | No | ||
| frameId | No | ||
| fromRef | No | ||
| trusted | No | ||
| duration | No | ||
| toSelector | No | ||
| fromSelector | No |