> 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/cao-zuo-zhi-nan/tab-and-popup/wait-popup.md).

# 等待弹出窗口

等待弹出窗口是指命令脚本暂停，并持续检查直到弹出窗口完全出现在屏幕上，然后再执行后面的命令。这个动作帮助脚本顺利运行，避免因网络不佳或网页加载弹出窗口缓慢而导致的指令丢失。

#### 配置参数：

* 弹出窗口标题：您正在等待的弹出窗口的标题。系统使用相对搜索机制（只需子窗口的标题包含您输入的短语，系统将自动匹配并记录）。
* 查看 [切换到弹出窗口](/automate-zh/cao-zuo-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/cao-zuo-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.
