browser_drag
Drag elements or coordinates from one point to another using CDP mouse events for reliable drag-and-drop; specify start and end refs, selectors, or x/y positions.
Instructions
Drag from one element or position to another. Uses CDP mouse events for reliable drag-and-drop. Provide either refs/selectors or explicit x,y coordinates.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endX | No | End X coordinate (if not using ref/selector) | |
| endY | No | End Y coordinate (if not using ref/selector) | |
| steps | No | Number of intermediate mouse move steps | |
| endRef | No | Ref of the element to drag to | |
| startX | No | Start X coordinate (if not using ref/selector) | |
| startY | No | Start Y coordinate (if not using ref/selector) | |
| startRef | No | Ref of the element to drag from | |
| endSelector | No | CSS selector of the element to drag to | |
| startSelector | No | CSS selector of the element to drag from |