# Desktop Wait

Wait for UI element or window to appear.

- Repository: https://github.com/openakita/openakita (2010 stars)
- Category: Design
- License: AGPL-3.0
- Last updated: 2026-09-24
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add openakita/openakita --skill desktop-wait -g -a claude-code -y`
Codex: `npx skills add openakita/openakita --skill desktop-wait -g -a codex -y`
Cursor: `npx skills add openakita/openakita --skill desktop-wait -g -a cursor -y`
Gemini CLI: `npx skills add openakita/openakita --skill desktop-wait -g -a gemini-cli -y`

## Description

Wait for UI element or window to appear. When you need to wait for dialog to open, loading to complete, or synchronize with application state before next action. Default timeout is 10 seconds.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# Desktop Wait

等待某个 UI 元素或窗口出现。

## Parameters

| 参数 | 类型 | 必填 | 说明 |
|------|------|------|------|
| target | string | 是 | 元素描述或窗口标题 |
| target_type | string | 否 | 目标类型：element（默认）/ window |
| timeout | integer | 否 | 超时时间（秒），默认 10 |

## Target Types

- `element`: 等待 UI 元素出现
- `window`: 等待窗口出现

## Use Cases

- 等待对话框打开
- 等待加载完成
- 在下一步操作前同步应用状态

## Examples

**等待保存对话框**:
```json
{"target": "另存为", "target_type": "window"}
```

**等待确定按钮**:
```json
{"target": "确定按钮", "timeout": 5}
```

## Returns

- 成功：元素/窗口信息
- 超时：错误信息

## Related Skills

- `desktop-click`: 等待后点击
- `desktop-find-element`: 查找元素


