playwright__browser_drag
Drag and drop a source element onto a target element in a web page, using element references or selectors to specify both endpoints. Automates UI interactions for testing workflows.
Instructions
[playwright] Perform drag and drop between two elements
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endTarget | Yes | Exact target element reference from the page snapshot, or a unique element selector | |
| endElement | No | Human-readable target element description used to obtain the permission to interact with the element | |
| startTarget | Yes | Exact target element reference from the page snapshot, or a unique element selector | |
| startElement | No | Human-readable source element description used to obtain the permission to interact with the element |