drag
Press on element index or page point (x, y), move by (dx, dy) CSS pixels along a human path, and release.
Instructions
Press on element index or page point (x, y), move by
(dx, dy) CSS pixels along a human path, and release.
Use it for slider challenges ("slide to verify", puzzle sliders) and range
controls. Aim the knob with screenshot() (its pixels are CSS pixels).
For a puzzle slider, dx is the distance from the piece to the gap.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| dx | Yes | ||
| dy | No | ||
| index | No | ||
| include_snapshot | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |