Skip to main content
Glama

Playwright MCP

by Angeluis001

browser_type

Types specified text into a web page element, optionally submitting it or typing character by character. Part of Playwright MCP for browser automation using structured accessibility snapshots.

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

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