Skip to main content
Glama
funkyfunc

browser-dvr-mcp

by funkyfunc

browser_query_selector

Query the DOM using CSS selectors or XPath to locate elements across all frames, returning their IDs, text, and bounding boxes for direct interaction.

Instructions

Query the DOM using a CSS selector or XPath and return matching elements with their backendNodeIds, text, and bounding boxes. Automatically searches across all frames (pierces iframes).

PREFER get_semantic_surface for page understanding. Use this tool only when you need to find elements by a specific CSS selector that the AX tree doesn't surface (e.g., elements with specific data-* attributes).

Returns backendNodeIds that can be used directly with atomic_interact.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
selectorYesCSS selector or XPath (prefix with "xpath/") to query
timeoutMsNoWait this many ms for the element to appear (default: 0 = instant check)
visibleOnlyNoOnly return visible elements (default: false)

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/funkyfunc/browser-dvr-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server