Playwright MCP Server

playwright_drag

Drag a web element from one location to another using CSS selectors for source and target elements. Part of the Playwright MCP Server for web interactions.

Instructions

Drag an element to a target location

Input Schema

NameRequiredDescriptionDefault
sourceSelectorYesCSS selector for the element to drag
targetSelectorYesCSS selector for the target location

Input Schema (JSON Schema)

{ "properties": { "sourceSelector": { "description": "CSS selector for the element to drag", "type": "string" }, "targetSelector": { "description": "CSS selector for the target location", "type": "string" } }, "required": [ "sourceSelector", "targetSelector" ], "type": "object" }
ID: iiafoz7ogl