> 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/scroll/scroll-to-bottom.md).

# 滚动到底部

滚动到底部是一个命令浏览器立即将整个屏幕向下滚动到当前网页的底部的动作。这个动作是自动进行的，并且没有任何附带的配置参数。

#### 实际例子：激活加载所有隐藏数据或查找页脚

这个动作非常有用，并且在数据抓取（Scraping）或自动营销的任务中经常使用：

* 加载更多数据（触发懒加载）：许多现代网站（如 Facebook、Pinterest、各大电商网站）采用无限滚动技术。当你刚进入页面时，系统只显示几篇文章。通过调用滚动到底部命令，浏览器将向下拉到底部，强制网站加载更多新数据。
* 与页脚部分互动：当你需要点击政策、条款或社交媒体链接的按钮时，这些通常固定在网站的最后部分，这个动作可以帮助将这些元素清晰地显示在屏幕上，以便为后续的点击命令做好准备。


---

# 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/scroll/scroll-to-bottom.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.
