Scroll

Type: scroll

Request that the browser scrolls to a certain point on the page or, in the case of pages with infinite scrolling, scrolls for a particular amount of time.

Parameters

Name
Type
Required
Description

percentage

integer

The percentage the page should scroll up or down (+/-) Default: 100% (scroll to bottom)

timeout

integer

The maximum amount of time the page should be scrolled for. Default: 20,000 (20s)

See universal parameters.

Sites that use more advanced bot detection often use scroll events to detect unusual activity on their site, rather than immediately landing on a page and scrolling to the bottom without any interaction our platform scrolls naturally, in a human-like manner to the desired location on the page.

Usage

Scroll a particular percentage down the page

The following code will scroll half way down the page.

"actions": [
      {
        "name": "scroll",
        "percentage": 50
      }
]

Scroll an infinitely scrolling webpage

The following code will scroll to the bottom of the page and then keep scrolling when new content loads for a maximum of 15 seconds.

"actions": [
      {
        "name": "scroll",
        "infinite": true,
        "timeout": 15000
      }
]

Last updated