SuperAPI AI Directory

desktop-inspect

Testing & quality

View repository

Updated 10-16 07:28

About this skill

Desktop Inspect

Inspect the UI element tree structure of a window (for debugging and understanding the interface structure).

Parameters

Parameter Type Required Description
window_title string No Window title; if not provided, inspect the current active window
depth integer No Element tree traversal depth, default 2

Use Cases

  • Debug UI automation issues
  • Understand the application interface structure
  • Find the correct element identifiers for clicking/input

Examples

Inspect the current window:

{}

Inspect Notepad, depth 3:

{"window_title": "记事本", "depth": 3}

Returns

  • Element name
  • Element type
  • Element ID
  • Element position
  • Child element list

Related Skills

  • desktop-find-element: Find specific elements
  • desktop-window: Window management