drag
Press an element, move along a curved path, and release on a target element or by pixel offset. Returns the start and end points actually used.
Instructions
Press on an element, move with a human-like curved path, and release. Give exactly one destination: toTarget to drop onto another element, or dx/dy to drag by a pixel offset (what slider controls need). Both ends must be on screen at once. Returns the from and to points actually used.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dx | No | ||
| dy | No | ||
| target | Yes | ||
| frameId | No | ||
| toTarget | No | ||
| returnSnapshot | No | Also return a fresh snapshot of the resulting page; renumbers element refs. |