Skip to main content
Glama

Playwright MCP

by lewisvoncken
Apache 2.0
275,350
  • Linux
  • Apple

browser_drag

Drag and drop elements in a browser window using structured accessibility snapshots. Specify source and target elements with exact references to perform precise interactions programmatically.

Instructions

Perform drag and drop between two elements

Input Schema

NameRequiredDescriptionDefault
endElementYesHuman-readable target element description used to obtain the permission to interact with the element
endRefYesExact target element reference from the page snapshot
startElementYesHuman-readable source element description used to obtain the permission to interact with the element
startRefYesExact source element reference from the page snapshot

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "endElement": { "description": "Human-readable target element description used to obtain the permission to interact with the element", "type": "string" }, "endRef": { "description": "Exact target element reference from the page snapshot", "type": "string" }, "startElement": { "description": "Human-readable source element description used to obtain the permission to interact with the element", "type": "string" }, "startRef": { "description": "Exact source element reference from the page snapshot", "type": "string" } }, "required": [ "startElement", "startRef", "endElement", "endRef" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/lewisvoncken/playwright-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server