You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add Chromium tests to CI/release and update SKILL.md
- 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>
Copy file name to clipboardExpand all lines: skills/lvt/SKILL.md
+21-2Lines changed: 21 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ Use `lvt` whenever you need to understand the visual content or structure of a r
16
16
-**UI verification** — confirm that a UI change was applied correctly (e.g. a button label changed, a dialog appeared)
17
17
-**Finding UI elements** — locate a specific control, menu item, or text field in an app's visual tree
18
18
-**Screenshot capture** — take an annotated screenshot of an app with element IDs overlaid
19
-
-**Framework detection** — determine which UI frameworks an app uses (Win32, ComCtl, XAML, WinUI 3, WPF)
19
+
-**Framework detection** — determine which UI frameworks an app uses (Win32, ComCtl, XAML, WinUI 3, WPF, Chromium)
20
20
-**Automated UI interaction planning** — get element IDs and bounds to plan mouse clicks or keyboard input
21
21
22
22
## Prerequisites
@@ -118,7 +118,7 @@ Every element gets a stable ID like `e0`, `e1`, `e2`, etc., assigned in depth-fi
118
118
|----------|-------------|
119
119
|`id`| Stable element ID (e.g. `e0`) |
120
120
|`type`| Element type name (e.g. `Window`, `Button`, `TextBlock`) |
121
-
|`framework`| Which framework owns this element (`win32`, `comctl`, `xaml`, `winui3`, `wpf`) |
121
+
|`framework`| Which framework owns this element (`win32`, `comctl`, `xaml`, `winui3`, `wpf`, `chromium`) |
122
122
|`className`| Win32 window class name (Win32/ComCtl elements) |
123
123
|`text`| Visible text content or window title |
124
124
|`bounds`| Screen-relative bounding rectangle `{x, y, width, height}`|
@@ -169,3 +169,22 @@ Every element gets a stable ID like `e0`, `e1`, `e2`, etc., assigned in depth-fi
169
169
- For XAML/WinUI 3 apps, lvt injects a helper DLL into the target — this is safe and non-destructive but means `lvt_tap_{arch}.dll` must be next to `lvt.exe`
170
170
- For WPF apps, lvt injects `lvt_wpf_tap_{arch}.dll` and the managed `LvtWpfTap.dll` — both must be next to `lvt.exe`
171
171
- lvt.exe must match the target process architecture (x64, x86, or ARM64) — a clear error is shown on mismatch. Use `lvt-x86.exe` for 32-bit WPF apps.
172
+
173
+
## Chrome/Edge DOM inspection (optional one-time setup)
174
+
175
+
lvt can dump the DOM tree of web pages in Chrome and Edge. This requires a one-time setup:
176
+
177
+
```powershell
178
+
$lvtDir = "$env:USERPROFILE\.lvt"
179
+
180
+
# 1. Register the native messaging host for Chrome and Edge
After setup, `lvt --name chrome` or `lvt --name msedge` will include the DOM tree of the active tab. If the extension is not installed, lvt still works for all other frameworks — it just won't show web content.
0 commit comments