playwright_drag
Drag an element from a source selector to a target selector on a web page.
Instructions
Drag an element to a target location
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": {
"sourceSelector": "<sourceSelector>",
"targetSelector": "<targetSelector>"
},
"name": "playwright_drag"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sourceSelector | Yes | CSS selector for the element to drag | |
| targetSelector | Yes | CSS selector for the target location |