browser_drag
Perform drag and drop operations between web elements for browser automation, enabling interactions like moving items or reordering content during testing or scraping tasks.
Instructions
Perform drag and drop between two elements
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"startElement": "<startElement>",
"startRef": "<startRef>",
"endElement": "<endElement>",
"endRef": "<endRef>"
},
"name": "browser_drag"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| startElement | Yes | Human-readable source element description used to obtain the permission to interact with the element | |
| startRef | Yes | Exact source element reference from the page snapshot | |
| endElement | Yes | Human-readable target element description used to obtain the permission to interact with the element | |
| endRef | Yes | Exact target element reference from the page snapshot |