dom-explorer
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| launch_browserA | Abre um navegador visível (headful por padrão) na URL informada e injeta o inspetor do DOM Explorer. Args: url: O endereço web para navegar (ex: 'https://exemplo.com.br' ou 'localhost:3000'). headless: Se True, roda em segundo plano. Padrão False (abre janela visível para o usuário interagir). browser_type: Tipo de navegador ('chromium', 'firefox', 'webkit'). Padrão 'chromium'. |
| get_selected_elementA | Recupera o último elemento selecionado/clicado pelo usuário no navegador. Retorna metadados completos (tag, id, classes, atributos, texto), além de locators ranqueados para Robot Framework (Browser Library e SeleniumLibrary) e keywords prontas. |
| get_selection_historyA | Retorna o histórico de todos os elementos selecionados/inspecionados na sessão atual. |
| scan_elementsA | Varre o DOM da página atual procurando elementos interativos por critérios textuais ou semânticos. Útil para mapear formulários ou botões sem necessidade de clicar em cada um manualmente. Args: selector: Seletor CSS específico para buscar (ex: 'form.login input'). tag: Filtrar por tag HTML (ex: 'button', 'input', 'select', 'a'). role: Filtrar por ARIA role (ex: 'button', 'checkbox', 'tab'). text: Filtrar por texto visível parcial (case-insensitive, ex: 'Salvar' ou 'Entrar'). limit: Quantidade máxima de elementos a retornar (padrão 25). |
| highlight_elementA | Destaca visualmente um elemento na página do navegador através de um seletor e valida se ele é único. Args: selector: Seletor CSS ou ID a validar e destacar (ex: '#login-btn' ou '[data-testid="submit"]'). |
| export_robot_resourceA | Gera um arquivo de recurso (.resource) completo para o Robot Framework baseado nos elementos inspecionados até o momento, contendo a seção *** Variables *** e *** Keywords *** (Page Object Pattern). Args: page_name: Nome da página ou componente (ex: 'LoginPage', 'DashboardHeader'). library: Biblioteca alvo do Robot Framework ('Browser' para Playwright ou 'SeleniumLibrary'). include_children: Inclui o componente selecionado e seus descendentes. only_interactive: Limita descendentes a elementos interativos. max_depth: Profundidade máxima dos descendentes incluídos. output_path: Caminho opcional onde o arquivo .resource será gravado. |
| close_browserA | Encerra a sessão do navegador e limpa os recursos. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 7 tools
Most tools target distinct actions: browser lifecycle, element selection retrieval, scanning, highlighting, and export. The main potential confusion is between get_selected_element and get_selection_history, but the current-element vs history distinction is clear enough.
All tool names follow a consistent verb_noun pattern in English (get_selected_element, launch_browser, scan_elements, highlight_element, export_robot_resource, close_browser). No mixed casing or stylistic deviations.
Seven tools is a well-scoped size for a DOM exploration and Robot Framework export server. Each tool contributes to a clear workflow without redundancy or bloat.
The set covers browser lifecycle, element discovery/inspection, highlighting, history, and resource file generation. Minor gaps include no navigation/refresh tool and no direct single-element fetch by selector, but these can be worked around.