Skip to main content

scroll

Interaction

Scrolls the page or an element.

Parameters

Parameter Type Required Default Description
selector string No Empty for window scroll, CSS selector for element scroll
direction string No bottom Scroll direction
Options: bottom, top, by_pixels
amount number No 0 Pixels for by_pixels mode
smooth boolean No false Use smooth scrolling
delay number No 1000 Delay between repeat scrolls in ms
repeats number No 1 Number of scroll repetitions
iframe string No CSS selector for iframe context

Usage Example

RTILA X PROJECT JSON

    {
  "command": "scroll",
  "params": {
    "selector": "",
    "direction": "bottom",
    "amount": 0,
    "smooth": true,
    "delay": 1000,
    "repeats": 2,
    "iframe": ""
  }
}
  

Related Scenarios

Related Learning Articles

Was this helpful?