Skip to main content
Glama

type_text

Types text into web form fields using element references or CSS selectors, enabling automated input for browser automation tasks.

Instructions

Type text into an input field. Provide either a ref (from snapshot) or a CSS selector. Use ref when available; use selector as fallback when snapshot doesn't assign refs (common with combobox/autocomplete inputs). Call snapshot first to find target element.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tabIdYesTab ID from create_tab
refNoElement ref from snapshot (e.g. 'e1', 'e2')
selectorNoCSS selector (e.g. 'input[name=q]', '#search-input')
textYesText to type into the element. Replaces existing content.

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/redf0x1/camofox-mcp'

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