Skip to main content
Glama

Playwright MCP

get_text

Extract text content from a specific web element using a CSS selector. Ideal for automation tasks in browser control powered by Playwright MCP.

Instructions

Get text content from an element

Input Schema

NameRequiredDescriptionDefault
page_idNo
selectorYes

Input Schema (JSON Schema)

{ "properties": { "page_id": { "type": "string" }, "selector": { "type": "string" } }, "required": [ "selector" ], "type": "object" }
Install Server

Other Tools from Playwright MCP

Related Tools

    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/misanthropic-ai/playwrite-mcp'

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