Skip to content

Scroll

Type: page-scroll  ·  Package: Browser v1.0.0

Moves (scrolls) the page or an element. It has two uses: bring an element into view (by passing its selector) or shifting a number of pixels (with x/y). Useful on long pages, progressive loading listings (infinite scroll) or to make sure an element is visible before interacting.

  • If you enter selector, scroll until that element is visible.
  • If not, it scrolls the page by the number of pixels indicated in x (horizontal) and y (vertical). Positive values ​​go down/to the right; negative, the opposite.

Ninguno.

ParameterEditorDescription
pagesessionThe page session. Omit it inside a body; outside, pass = page.
selectorselectorItem to carry in sight. Empty = scrolls the entire page.
xnumberPixels to move horizontally. By default 0.
ynumberPixels to move vertically. Ex: 500 (low), -500 (up).

Download to load more results (infinite scroll):

For Loop from = 1 to = 6 indexVariable = i
└─ activities:
Page Scroll y = 1000
Delay milliseconds = 800 // dar tiempo a que carguen más items

Bring a button to the visible area before clicking:

Page Scroll selector = (#botonPagar)
Page Click selector = (#botonPagar)
  • Wait For — wait for loaded items to appear when scrolling.
  • Extract Table — for paginated tables (handles scrolling for you).