Skip to main content
Glama

Playwright MCP

by nzjami
Apache 2.0
299,985
  • Apple
  • Linux

browser_drag

Simulate drag and drop actions between specified elements using Playwright MCP. Define source and target elements with accessible references for precise browser automation.

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/nzjami/mcpPlaywright'

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