ui_drag
Drag an element onto a target to reorder rows, move cards between columns, or resize splits by emitting realistic press, move, and release events that reliable drop handlers require.
Instructions
Drag one element onto another — reordering rows, moving a card between columns, resizing a split. Dispatches a real press, several intermediate moves and a release, because drag implementations almost always ignore a press followed immediately by a release somewhere else.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Visible text of what to drag. | |
| frame | No | 'main' (default) or a substring of a frame's origin/name. | main |
| steps | No | Intermediate move events. More is slower but survives pickier drag handlers. | |
| testid | No | Test id of what to drag. | |
| to_text | No | Visible text of where to drop it. | |
| selector | No | CSS selector for what to drag. | |
| to_testid | No | Test id of where to drop it. | |
| timeout_ms | No | How long to wait for either element to become actionable. | |
| to_selector | No | CSS selector for where to drop it. |