Get started

Reference Workflows 06 / 06

Scroll step

Scroll the page, e.g. to load lazy content. A step a recorded Writ workflow can run, with its fields and an example.

Runs on Writ CloudWrit Desktop

Open in Claude Open in ChatGPT

The scroll step scrolls the page by the recorded amount, which is essential for infinite-scroll lists that load items lazily as you approach the bottom.

In a workflow, this step is a JSON object with "type": "scroll". Steps run in order, and each step can read the outputs of the steps before it.

Fields

Set these inside the step’s config object.

value string
The scroll distance, as recorded.

Example

One scroll step, as it appears in the steps list of a workflow.

Step
{
  "type": "scroll",
  "config": { "value": "800" }
}

How it behaves

  • Combine with wait_for_change so the next step reads content that has actually loaded.
  • For a single element, scroll_into_view is more precise than a page scroll.

Where it runs

The step runs wherever its workflow runs. On Writ Desktop, runs are free and can reach systems that only your own network can reach.

On Writ Cloud, each call costs credits: 20 when the run needs a browser, 2 when it does not. A call that fails because of the site or Writ costs nothing.

Next