Skip to main content
Glama

Cloudflare Playwright MCP

Official
by cloudflare

browser_drag

Enable drag and drop interaction between two web elements using precise references for automated browser testing with Cloudflare Playwright MCP.

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/cloudflare/playwright-mcp'

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