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