Skip to main content
Glama

Playwright MCP

by lewisvoncken
Apache 2.0
275,350
  • Linux
  • Apple

browser_type

Type text into web elements with control over speed and submission using Playwright MCP. Automates text input for editable elements, supporting character-by-character typing and instant submission.

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

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