drag
Automate drag-and-drop actions in Firefox using Playwright by specifying coordinates, offsets, and duration. Ideal for browser testing and debugging multi-tab workflows.
Instructions
Perform drag operation
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "drag"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| duration | No | ||
| fromCoordinates | No | ||
| offsetX | No | ||
| offsetY | No | ||
| selector | No | ||
| steps | No | ||
| tabId | No | ||
| toCoordinates | No |