Skip to main content
Glama

browser_click_text

Click browser elements by visible text content to interact with React dropdowns, portals, and overlays that may not appear in snapshots. This CSP-safe tool prefers the deepest matching element.

Instructions

Click an element by its visible text content. Works on React dropdowns, portals, and overlays that may not appear in snapshots. CSP-safe (no eval). Prefers deepest matching element.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYesText to match against element content (first line)
indexNoWhich match to click if multiple (0-based, default 0)
exactNoRequire exact match instead of substring (default false)

Latest Blog Posts

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/ofershap/real-browser-mcp'

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