Add Chromium plugin for Chrome/Edge DOM inspection#6
Merged
Conversation
Adds a browser extension + native messaging host architecture that lets lvt dump the DOM tree from Chrome and Edge tabs: - Browser extension (Manifest V3) uses chrome.debugger API (CDP) to walk the DOM tree, including shadow DOM and iframes - Native messaging host (lvt_chromium_host.exe) relays between Chrome's stdin/stdout protocol and a Win32 named pipe - Plugin DLL (lvt_chromium_plugin.dll) detects chrome.exe/msedge.exe and connects to the named pipe to request and receive the DOM tree - Extension uses a fixed key for deterministic extension ID across installs - Filters out non-debuggable tabs (chrome://, edge://, about: URLs) No --remote-debugging-port flag required. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- Run lvt_chromium_tests.exe in both CI and release pipelines - Add chromium to framework list in SKILL.md - Document one-time Chrome/Edge extension setup for DOM inspection Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a browser extension + native messaging host architecture that lets lvt dump the DOM tree from Chrome and Edge tabs.
Components
Data flow
No --remote-debugging-port flag required.
One-time setup
Files
Pipeline changes
Tested
Verified end-to-end with Edge Stable on example.com — full DOM tree with tags, text, attributes, and bounding boxes.