Elements
bl drag
Drag from one element to another
Drag from one element to another
Usage
bl drag <source> <target> [OPTIONS]Arguments
| Argument | Description |
|---|---|
<source> | CSS selector (or map ref) for the element to drag |
<target> | CSS selector (or map ref) for the drop target |
Options
| Option | Description |
|---|---|
--headless | Hide browser window (visible by default) |
--json | Output as JSON |
--session <value> | Run this command in the named session (env: BL_SESSION; default: "default") |
Global options
| Option | Description |
|---|---|
-v, --verbose | Enable debug logging |
Examples
bl drag ".draggable" ".dropzone"
# Drag element to drop target
bl drag @e1 @e3
# Drag using map refs