firefox-devtools-mcpTools Reference
resolve_uid_to_selector
Convert UID to CSS selector
resolve_uid_to_selector
Convert a snapshot UID to a CSS selector.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
uid | string | Yes | Element UID from snapshot |
Example
{
"tool": "resolve_uid_to_selector",
"arguments": {
"uid": "uid-abc123"
}
}Response
Returns the CSS selector for the element.