Skip to main content
Glama

Cloudflare Playwright MCP

Official
by cloudflare

browser_type

Type text into specified web elements during automated browser testing using Playwright. Supports submitting text and simulating character-by-character input for triggering key handlers.

Instructions

Type text into editable element

Input Schema

NameRequiredDescriptionDefault
elementYesHuman-readable element description used to obtain permission to interact with the element
refYesExact target element reference from the page snapshot
slowlyNoWhether to type one character at a time. Useful for triggering key handlers in the page. By default entire text is filled in at once.
submitNoWhether to submit entered text (press Enter after)
textYesText to type into the element

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "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" }, "slowly": { "description": "Whether to type one character at a time. Useful for triggering key handlers in the page. By default entire text is filled in at once.", "type": "boolean" }, "submit": { "description": "Whether to submit entered text (press Enter after)", "type": "boolean" }, "text": { "description": "Text to type into the element", "type": "string" } }, "required": [ "element", "ref", "text" ], "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