> For the complete documentation index, see [llms.txt](https://docs.gpmautomate.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.gpmautomate.com/automate-zh/action-shi-yong-zhi-nan/tab-and-popup/wait-popup.md).

# Wait popup

Wait popup 是命令脚本暂停并持续检查，直到弹出窗口（Popup Window）完全出现在屏幕上后才继续执行后续命令的操作。此操作有助于脚本流畅运行，避免因网络不稳定或网页加载弹窗缓慢而导致漏执行命令的错误。

🎥 查看更多指导视频：[点击这里](https://youtu.be/oroexOGjZfw)。

#### 配置参数：

* Popup Title：您正在等待的弹出窗口的标题。系统使用相对搜索机制（只需子窗口的标题包含您输入的短语，系统就会自动匹配并识别）。
* 请查看 [Switch to Popup](/automate-zh/action-shi-yong-zhi-nan/switch/switch-to-popup.md) 部分了解更多使用方法。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.gpmautomate.com/automate-zh/action-shi-yong-zhi-nan/tab-and-popup/wait-popup.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
