safari_inspect_element
Inspect DOM elements and retrieve their properties using a CSS selector and session ID, enabling browser automation and development tasks with Safari MCP Server.
Instructions
Inspect a DOM element and get its properties
Input Schema
Name | Required | Description | Default |
---|---|---|---|
selector | Yes | CSS selector for the element | |
sessionId | Yes | Session identifier |
Input Schema (JSON Schema)
{
"properties": {
"selector": {
"description": "CSS selector for the element",
"type": "string"
},
"sessionId": {
"description": "Session identifier",
"type": "string"
}
},
"required": [
"sessionId",
"selector"
],
"type": "object"
}