بنقرة واحدة
element-inspector
Inspect DOM elements via playwright-cli eval for autonomous CSS/layout debugging.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Inspect DOM elements via playwright-cli eval for autonomous CSS/layout debugging.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Master index of all available skills for development workflows. Use when needing guidance on which skill to apply or when starting work on any project.
Master index of all available skills for development workflows. Use when needing guidance on which skill to apply or when starting work on any project.
Autonomous work mode — never ask user to run commands, never stand by, always take next action. Use when working independently on tasks.
Claude Code setup and configuration reference. Skills, commands, hooks, MCP servers, CLI, and permissions.
Code audit, cleanup, refactoring, API minimization, test review, examples, and project evaluation. Use when reviewing code quality or preparing for release.
Core development philosophy including development cycles, naming conventions, architectural decisions, and multi-agent workflows. Use when establishing project foundations or making architectural decisions.
| name | element-inspector |
| description | Inspect DOM elements via playwright-cli eval for autonomous CSS/layout debugging. |
mcp__scitex__ui_inspect_element(selector="#ws-worktree-resizer")
mcp__scitex__ui_inspect_elements(selector=".panel-resizer", limit=5)
Standalone — works on any website open in playwright-cli.
When MCP tool unavailable, use playwright-cli eval directly:
playwright-cli eval 'JSON.stringify({position: getComputedStyle(document.querySelector("#SELECTOR")).position, width: getComputedStyle(document.querySelector("#SELECTOR")).width})'
playwright-cli eval 'var cs = getComputedStyle(document.querySelector("#SELECTOR")); JSON.stringify({position: cs.position, width: cs.width, height: cs.height, cursor: cs.cursor, display: cs.display, flex: cs.flex, flexDirection: cs.flexDirection})'
playwright-cli eval 'document.querySelector("#SELECTOR").style.cssText'
playwright-cli eval 'var p = document.querySelector("#SELECTOR").parentElement; var chain = []; for(var i=0; i<4 && p; i++) { chain.push(p.tagName + (p.id ? "#"+p.id : "")); p = p.parentElement; } JSON.stringify(chain)'
playwright-cli eval 'Math.round(document.querySelector("#SELECTOR").getBoundingClientRect().top)'
When mobile CSS uses !important and JS can't override:
!important beats inline stylesel.style.setProperty("prop", "value", "important") to winel.style.cssText shows inline styles (JS-set)getComputedStyle(el).property shows final computed valueposition — should be relative not absolute on mobilecursor — should be row-resize not col-resize on mobileflex property is locked — JS may not be able to override !importantflexDirection of parent container — determines which axis the resizer usesmousedown event fires — add debug listener or check consolegetComputedStyle on the actual element