Chrome Tools MCP Server

query_dom_elements

Extract and interact with DOM elements in a Chrome tab using CSS selectors and tab ID. Enhances web automation and debugging by enabling precise element targeting.

Input Schema

NameRequiredDescriptionDefault
selectorYesCSS selector to find elements
tabIdYesID of the Chrome tab to query

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "selector": { "description": "CSS selector to find elements", "type": "string" }, "tabId": { "description": "ID of the Chrome tab to query", "type": "string" } }, "required": [ "tabId", "selector" ], "type": "object" }

You must be authenticated.

Other Tools from Chrome Tools MCP Server

Related Tools

ID: rhq74imjee