get_element_text
Extracts text content from a web element using a CSS selector in Safari. Enables web automation, testing, and debugging on macOS via the MCP Safari Server.
Instructions
Get the text content of an element
Input Schema
Name | Required | Description | Default |
---|---|---|---|
selector | Yes | CSS selector for the element |
Input Schema (JSON Schema)
{
"properties": {
"selector": {
"description": "CSS selector for the element",
"type": "string"
}
},
"required": [
"selector"
],
"type": "object"
}