Back to docs

Tool Drag

Category: Browser Automation · Tier: Free

Drag an element to a target location. Simulates mouse press, move, and release.

Parameters

Parameter Type Required Description
source string Yes CSS selector for the element to drag
target string Yes CSS selector for the drop target
_browserToken string No Browser session token

Example

Drag the task card to the "Done" column
→ drag source=".task-card:first-child" target=".column-done"

Related

From the Blog