browser_drag
Drag an element from its current position to a target element.
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": {
"session_id": "<session_id>",
"source_selector": "<source_selector>",
"target_selector": "<target_selector>"
},
"name": "browser_drag"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | Session ID returned by browser_navigate | |
| source_selector | Yes | CSS selector of the element to drag | |
| target_selector | Yes | CSS selector of the drop target |