Commit 20ae95f
committed
feat(inspection): add comprehensive element inspection tools
Add 17 new tools for DOM and CSS inspection:
- inspect_element, get_element_styles, get_element_box_model
- query_selector, highlight_element, hide_highlight
- get_dom_tree, capture_dom_snapshot, force_element_state
- get_element_event_listeners, get_element_at_position
- search_dom, get_fonts_info, show_layout_overlay
- get_accessibility_info, compare_elements, get_css_variables
These tools enable AI agents to fully inspect elements like
Chrome DevTools Elements panel - getting styles, layouts,
properties, event listeners, and more.1 parent 2c1061b commit 20ae95f
File tree
9 files changed
+3108
-0
lines changed- docs
- src
- tools
- utils
9 files changed
+3108
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
3 | 26 | | |
4 | 27 | | |
5 | 28 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
312 | 312 | | |
313 | 313 | | |
314 | 314 | | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
315 | 333 | | |
316 | 334 | | |
317 | 335 | | |
| |||
390 | 408 | | |
391 | 409 | | |
392 | 410 | | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
393 | 416 | | |
394 | 417 | | |
395 | 418 | | |
| |||
0 commit comments