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

# Mouse scroll

Mouse scroll 是指令浏览器按照预先指定的固定次数(滚动格数)向上或向下滚动页面的操作。此操作可帮助您主动将屏幕移动到网页下方或上方隐藏的内容区域。

🎥 观看更多操作指南视频:[点击这里](https://youtu.be/kQZWs1I76Zo)。

#### 配置参数:

* Number of scrolls:执行鼠标滚动的次数(格数)。
  * *正数(例如:`5`)*:将屏幕向下滚动 5 次。
  * *负数(例如:`-3`)*:将屏幕向上滚动 3 次。

#### 实际示例:滚动屏幕以加载更多数据或检查界面

当您正在浏览新闻网站或电商产品列表页面时,需要向下滚动一个固定的短距离,以触发网站的懒加载(Lazy load)功能来加载新文章:

* 配置方法:将 Mouse scroll 操作拖入流程中 ➔ 在 *Number of scrolls* 输入框中填入数值 `6`。
* 结果:浏览器将精确执行向下滚动 6 格的操作,果断地将屏幕向下移动。


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.gpmautomate.com/automate-zh/action-shi-yong-zhi-nan/mouse/mouse-scroll.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
