query_element
InactiveTool of sncro
Query a DOM element by CSS selector. Returns bounding rect, attributes, computed styles, inner text, and child count. Use this to debug layout, positioning, and visibility issues. Requires a connected browser session. If you get BROWSER_NOT_CONNECTED, call check_session first and wait for "connected" status. If you get BROWSER_TIMEOUT, the page may be navigating — wait a moment and retry. Args: key: The sncro session key secret: The session secret from create_session selector: CSS selector (e.g. "#photo-wrap", ".toolbar > button:first-child") styles: Optional list of CSS properties to read (e.g. ["transform", "width", "display"])
Parameters schema
{
"type": "object",
"title": "query_elementArguments",
"required": [
"key",
"secret",
"selector"
],
"properties": {
"key": {
"type": "string",
"title": "Key"
},
"secret": {
"type": "string",
"title": "Secret"
},
"styles": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
],
"title": "Styles",
"default": null
},
"selector": {
"type": "string",
"title": "Selector"
}
}
}No endpoints wrapped at confidence ≥ 0.70.
Parent server
sncro
https://github.com/scottconfusedgorilla/sncro-relay
2/7 registries