Webpage Scroll-Through GIF Generator avatar

Webpage Scroll-Through GIF Generator

Pricing

from $0.49 / 1,000 results

Go to Apify Store
Webpage Scroll-Through GIF Generator

Webpage Scroll-Through GIF Generator

Turn any webpage into an animated GIF that scrolls from top to bottom, with adjustable viewport size, scroll speed, frame delay, and resolution.

Pricing

from $0.49 / 1,000 results

Rating

0.0

(0)

Developer

Nimbryxo-studio

Nimbryxo-studio

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

4 hours ago

Last modified

Features

Limited permissions

Share

Taking a scrolling screen recording of a webpage usually means opening a screen-capture tool, scrolling by hand, and exporting a video. This actor automates the whole thing: point it at a URL and it scrolls the page top to bottom in a headless browser, capturing a frame at each step, then hands you back a single animated GIF.

What this actor does

  • Loads any public URL in a headless browser at the viewport size you choose, then scrolls it down in fixed-pixel steps, capturing one frame per step.
  • Stops automatically once it reaches the bottom of the page, or at a frame cap you set, whichever comes first.
  • Optionally clicks a cookie-consent dismiss button first, so the banner doesn't show up in every captured frame.
  • Can wait extra time after the page loads before capturing starts, for pages that finish loading content asynchronously.
  • Downscales frames by an integer factor before encoding, trading sharpness for a smaller file; if capture or GIF assembly fails, the run records the reason instead of leaving the record incomplete.

Output per run

FieldDescription
urlThe page URL that was captured
gifUrlPublic URL of the generated GIF
frameCountNumber of frames captured before reaching the bottom of the page or the frame cap
width / heightFinal GIF dimensions in pixels, after downscaling
aspectRatiowidth / height, rounded to 3 decimal places
fileSizeBytesSize of the encoded GIF, in bytes
frameDelayMsPer-frame delay encoded into the GIF
durationMsTotal GIF playback duration: frameDelayMs × frameCount
scrapedAtUTC timestamp of the run

If capture or encoding fails, the run instead produces a record with type: "gif_scroll_error", a reason, and a short message describing what went wrong, along with url and scrapedAt.

Input

FieldTypeDefaultDescription
urlstring–Page URL to capture. Must start with http:// or https://. Required.
viewportWidthinteger1280Browser viewport width in pixels.
viewportHeightinteger720Browser viewport height in pixels.
scrollStepPxinteger250Pixels to scroll between captured frames; smaller values give a smoother animation with more frames.
frameDelayMsinteger200Per-frame delay encoded into the GIF.
maxFramesinteger60Maximum number of frames to capture, so very tall pages can't run indefinitely.
cookieWindowSelectorstring–CSS selector of a cookie-consent dismiss button to click after the page loads; skipped if not found.
waitToLoadPageMsinteger0Extra wait, in milliseconds, after the page settles before the first frame is captured.
downscaleFactorinteger2Integer factor to shrink each frame by before encoding; 1 keeps full resolution, higher values give a smaller but softer GIF.

Example: default capture

{
"url": "https://apify.com"
}

Example: taller viewport, slower scroll, sharper output

{
"url": "https://example.com/long-landing-page",
"viewportWidth": 1440,
"viewportHeight": 900,
"scrollStepPx": 150,
"frameDelayMs": 300,
"downscaleFactor": 1,
"maxFrames": 100
}
{
"url": "https://example.com/app-landing",
"cookieWindowSelector": "button[aria-label=\"Accept all\"]",
"waitToLoadPageMs": 2000
}

Use cases

  • Marketing and social previews — produce a scrolling preview of a landing page to drop into a deck, Slack message, or social post.
  • Design and QA review — give reviewers a single animated artifact instead of a stack of full-page screenshots.
  • Documentation — embed a page walkthrough in a doc or changelog without recording and trimming a video.
  • Release comparison — recapture the same URL after a deploy to spot visual changes in a scroll-through.

FAQ

Does this need a proxy? No — it captures pages over the run's normal network connection.

Why did the GIF stop before reaching the bottom of the page? Either it hit maxFrames first, or the page kept growing (infinite scroll) and the run reached its frame cap rather than scrolling forever. Raise maxFrames for longer pages.

Why isn't the scrolling perfectly smooth? GIF frame timing only supports hundredths-of-a-second increments, so frameDelayMs gets rounded to the nearest supported value. This actor targets quick previews, not frame-accurate video.

How large will the GIF be? It depends on page height, viewport size, and downscaleFactor. A full-resolution capture of a long page can run several megabytes; doubling downscaleFactor roughly quarters the frame area and shrinks the file accordingly.

The page didn't capture — what happened? Some sites block automated browsers outright. Check the output record: a type: "gif_scroll_error" record with a reason and message means capture or GIF assembly failed rather than silently producing an empty result.

Can I get just the GIF file without the dataset record? The gifUrl field in the dataset record is a direct link to the GIF file — open or download it from there.

Does it work on pages behind a login? No. The actor loads the URL as a normal anonymous visitor, so pages that require authentication to view won't render correctly.