get_element_text
Extract text content from a web element using a CSS selector with the MCP Browser Server, enabling automated data retrieval from web pages.
Instructions
Get text content of an element
Input Schema
| Name | Required | Description | Default | 
|---|---|---|---|
| selector | Yes | CSS selector for the element | |
| timeout | No | Timeout in milliseconds | 
Input Schema (JSON Schema)
{
  "properties": {
    "selector": {
      "description": "CSS selector for the element",
      "type": "string"
    },
    "timeout": {
      "default": 5000,
      "description": "Timeout in milliseconds",
      "type": "number"
    }
  },
  "required": [
    "selector"
  ],
  "type": "object"
}