Skip to main content
Glama

Cloudflare Playwright MCP

Official
by cloudflare

browser_click

Simulate single or double clicks on web page elements using human-readable descriptions or exact references. Integrates with Playwright for automated browser testing and Cloudflare Workers.

Instructions

Perform click on a web page

Input Schema

NameRequiredDescriptionDefault
buttonNoButton to click, defaults to left
doubleClickNoWhether to perform a double click instead of a single click
elementYesHuman-readable element description used to obtain permission to interact with the element
refYesExact target element reference from the page snapshot

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "button": { "description": "Button to click, defaults to left", "enum": [ "left", "right", "middle" ], "type": "string" }, "doubleClick": { "description": "Whether to perform a double click instead of a single click", "type": "boolean" }, "element": { "description": "Human-readable element description used to obtain permission to interact with the element", "type": "string" }, "ref": { "description": "Exact target element reference from the page snapshot", "type": "string" } }, "required": [ "element", "ref" ], "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