Chrome Debug MCP Server

get_attribute

Get attribute value of an element

Input Schema

NameRequiredDescriptionDefault
attributeYesAttribute name to get
selectorYesCSS selector for element

Input Schema (JSON Schema)

{ "properties": { "attribute": { "description": "Attribute name to get", "type": "string" }, "selector": { "description": "CSS selector for element", "type": "string" } }, "required": [ "selector", "attribute" ], "type": "object" }