> 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/huong-dan-cac-action/mouse/mouse-scroll.md).

# Mouse scroll

Mouse scroll là hành động ra lệnh cho trình duyệt thực hiện việc cuộn trang lên hoặc xuống theo một số lần (nấc cuộn) cố định được chỉ định sẵn. Hành động này giúp bạn chủ động dịch chuyển màn hình đến các vùng nội dung khuất phía dưới hoặc phía trên của trang web.

🎥 Xem thêm video hướng dẫn: [Tại đây](https://youtu.be/kQZWs1I76Zo).

#### Tham số cấu hình:

* Number of scrolls: Số lần (nấc) cuộn chuột thực hiện.
  * *Số dương (Ví dụ: `5`)*: Cuộn màn hình xuống dưới 5 lần.
  * *Số âm (Ví dụ: `-3`)*: Cuộn màn hình lên trên 3 lần.

#### Ví dụ thực tế: Cuộn màn hình để tải thêm dữ liệu hoặc kiểm tra giao diện

Khi bạn đang lướt một trang tin tức hoặc trang danh sách sản phẩm thương mại điện tử, bạn cần cuộn xuống một khoảng ngắn cố định để kích hoạt tính năng tải thêm bài viết mới (Lazy load) của website:

* Cách cấu hình: Kéo hành động Mouse scroll vào luồng ➔ Điền giá trị `6` vào ô *Number of scrolls*.
* Kết quả: Trình duyệt sẽ thực hiện cuộn xuống dưới đúng 6 nấc chuột một cách dứt khoát để đẩy màn hình dịch chuyển xuống phía dưới.


---

# 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/huong-dan-cac-action/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.
