Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

To capture content that appears only as you scroll, first scroll through the parts of the page you need so the site can load them, then take a full-page screenshot. In Playwright, fullPage: true captures the page’s full scrollable area, but that capture does not necessarily scroll the visible page or trigger scroll-dependent loading. For an infinite feed, choose a stopping point—such as a target item count—because there may be no final bottom.

Why a full-page screenshot can miss content

Playwright describes a full-page screenshot as an image of the full scrollable page, “as if you had a very tall screen and the page could fit it entirely” (Playwright Screenshots documentation). That is useful when the content is already in the document. It is not the same as scrolling the page in the browser.

Some sites request or insert content only after scrolling brings a section into view. A Playwright project issue explains that a full-page capture can render beyond the viewport without the visual viewport scrolling, so JavaScript that depends on scroll events may not run (Playwright issue #40941). The issue proposes an option to load scroll-triggered content; it is a proposal, not a released Playwright option. Do not rely on a loadLazyContent setting.

There are two different limits to keep in mind: the document’s current scroll height, and content the site has not yet requested or inserted. A screenshot can include the former while still missing the latter.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#1 Best Overall
Elebase USB to USB C Adapter for iPhone 18 Pro Max,USBC Car Charger Adapter
  • Read Before You Buy — No Video Output: These adapters support charging and USB 2.0 data transfer, but cannot transmit video signals. Except for standard USB webcams (which use USB data only), they are not compatible with HDMI/DisplayPort cables, video-capable USB-C hubs, or docking stations with video output.
  • Convert USB-A Ports to USB-C: Designed to connect USB-C earphones, cables, flash drives, card readers, and other USB-C accessories to standard USB-A ports. Plug-and-play with no drivers or software required.
  • Aluminum Alloy Housing: Built with a sturdy aluminum alloy shell that aids in heat dissipation and protects against daily wear and scratches. Designed to maintain a stable and secure connection.
  • Compact & Travel-Friendly: The ultra-compact design allows the adapter to stay plugged into your device without blocking adjacent ports or adding bulk, reducing wear and tear on your original USB ports.
  • 12-Month Warranty: Backed by a 12-month manufacturer warranty for peace of mind. Designed to meet strict quality control standards for reliable everyday performance.

Capture an infinite-scroll page with Playwright

For repeatable captures, use a real scroll pass before the final screenshot. The example below scrolls in viewport-sized steps, waits briefly between steps, and stops after a configured number of rounds without an increase in document height or at the configured round limit. These are safeguards, not universal signals that the site has finished loading: a feed may add items without changing height immediately, or may keep loading indefinitely. Set the boundary for the page you are capturing, inspect the result, and adjust the wait and stop rule to the site.

Runnable Node.js example

Install Playwright and its Chromium browser in your project with npm install playwright and npx playwright install chromium. Save this as capture.js, replace the example URL, and run it with node capture.js.

Rank #2
Anker USB-C Hub, 5-in-1 USB Hub for Laptops, 4K HDMI Multiport Adapter
  • 5-in-1 USB-C Hub: Experience comprehensive connectivity featuring a Power Delivery input, two USB-A 2.0 ports, a USB-A 3.0 port, and an HDMI port. (Note: The USB-C power delivery input port is only for connecting an external wall charger to power your laptop and cannot power peripheral devices.)
  • 90W Pass-Through Charging: Achieve optimal charging with 90W pass-through power to your laptop, supported by a total input of 100W, with the hub reserving 10W for operational efficiency. (Note: Wall charger not included.)
  • Quick Data Transfers: Accelerate your productivity with rapid data transfers using a high-speed 5Gbps USB 3.0 port and two 480Mbps USB 2.0 ports.
  • 4K HDMI Display: Enhance your visual experience with a hub capable of delivering 4K resolution at 30Hz in both mirror and extend modes. Please note that this hub is compatible with MacBook (macOS 12 and newer), Windows 10 and 11, ChromeOS, and laptops equipped with DP Alt Mode and Power Delivery. Note: This device is not compatible with Linux.
  • What You Get: Anker USB-C Hub (5-in-1, 4K HDMI), welcome guide, 18-month warranty, and our friendly customer service.
const { chromium } = require('playwright');

const url = 'https://example.com/infinite-feed';
const output = 'thumbnail.png';
const maxRounds = 40;
const stableRoundsToStop = 3;
const waitBetweenScrollsMs = 800;

const wait = (ms) => new Promise((resolve) => setTimeout(resolve, ms));

(async () => {
  const browser = await chromium.launch({ headless: true });
  const page = await browser.newPage({ viewport: { width: 1365, height: 900 } });

  try {
    await page.goto(url, { waitUntil: 'domcontentloaded', timeout: 60000 });
    await page.locator('body').waitFor({ state: 'visible', timeout: 15000 });

    let previousHeight = 0;
    let stableRounds = 0;

    for (let round = 0; round < maxRounds; round += 1) {
      await page.evaluate(() => {
        window.scrollBy(0, Math.max(window.innerHeight * 0.8, 400));
      });
      await wait(waitBetweenScrollsMs);

      const height = await page.evaluate(() =>
        Math.max(document.body.scrollHeight, document.documentElement.scrollHeight)
      );

      if (height <= previousHeight) {
        stableRounds += 1;
      } else {
        stableRounds = 0;
      }
      previousHeight = height;

      if (stableRounds >= stableRoundsToStop) break;
    }

    // Return to the top so the captured page starts in its usual position.
    await page.evaluate(() => window.scrollTo(0, 0));
    await wait(300);
    await page.screenshot({ path: output, fullPage: true });
    console.log(`Saved ${output}`);
  } finally {
    await browser.close();
  }
})().catch((error) => {
  console.error(error);
  process.exitCode = 1;
});

The script intentionally uses a bounded loop: a page that never stops loading cannot be scrolled “to the end.” For a reliable capture, replace height stability with a site-specific target where possible—for example, stop after a known number of cards appears or after a particular section is visible. If the site loads content only after a specific interaction, reproduce that interaction too. The Playwright Page API reference documents screenshot options and related page operations.

Check the output

  • Open the image and confirm the last required section or item is present; a stable height alone does not prove that the intended content loaded.
  • Look for blank gaps, duplicate sections, or unloaded images. If present, change the site-specific wait or stopping condition and capture again.
  • For visual-regression work, remember that scrolling can change page state, such as triggering animations, sticky elements, or additional content. Keep the scroll sequence and boundary consistent between runs.

Choose a capture method for the page

Approach Best fit Trade-off
Full-page screenshot without a scroll pass Content is already present in the document. Can omit content that loads only after actual scrolling.
Scroll first, then capture Lazy-loaded sections or feeds with a defined target boundary. Needs a site-specific wait and stopping condition; scrolling may change page state.
Manual browser scrolling, then capture One-off, short pages where automation is unnecessary. Less repeatable, and full-page screenshot controls differ by browser.

Manual browser workflow for a one-off thumbnail

  1. Open the page in your browser and scroll down through every section you need in the thumbnail.
  2. Pause as needed for new cards, images, or sections to appear. For an endless feed, stop at a deliberate boundary rather than assuming there is a final bottom.
  3. Use a browser or screenshot utility that supports full-page capture. The exact control varies; a generic full-page command should not be assumed to trigger the site’s loading behavior.
  4. Inspect the saved image for missing or repeated content before using it.

Or skip the browser setup

If the content you need is already loaded, ScreenshotNeo can return a full-page capture through one API request. Its full-page option loads lazy images, but an API full-page capture should not be treated as a scroll pass for an infinite feed: first establish that the target content is present, or use the Playwright/manual workflow above.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #3
Sale
Anker USB C Hub, 7in1 Multi-Port USB Adapter, 4K@60Hz USBC to HDMI Splitter
  • Sleek 7-in-1 USB-C Hub: Features an HDMI port, two USB-A 3.0 ports, and a USB-C data port, each providing 5Gbps transfer speeds. It also includes a USB-C PD input port for charging up to 100W and dual SD and TF card slots, all in a compact design.
  • Flawless 4K@60Hz Video with HDMI: Delivers exceptional clarity and smoothness with its 4K@60Hz HDMI port, making it ideal for high-definition presentations and entertainment. (Note: Only the HDMI port supports video projection; the USB-C port is for data transfer only.)
  • Double Up on Efficiency: The two USB-A 3.0 ports and a USB-C port support a fast 5Gbps data rate, significantly boosting your transfer speeds and improving productivity.
  • Fast and Reliable 85W Charging: Offers high-capacity, speedy charging for laptops up to 85W, so you spend less time tethered to an outlet and more time being productive.
  • What You Get: Anker USB-C Hub (7-in-1), welcome guide, 18-month warranty, and our friendly customer service.

Example cURL request (replace the URL with the page you want to capture):

curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://example.com/infinite-feed -o shot.webp

See the ScreenshotNeo API documentation for request options. ScreenshotNeo removes cookie banners, newsletter popups, and chat widgets before capture; bot checks, blank pages, and failed loads are never billed; an MCP server lets AI agents take screenshots; and the Free plan includes 1,000 screenshots a month with no card, while paid plans start at $5 for 3,000. Learn about ScreenshotNeo or sign up for 1,000 free screenshots a month with no card.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Troubleshooting

The bottom of the screenshot is blank or missing cards

The page may not have requested those items before capture. Scroll through the required region and wait for the content to appear; use a known item count or target element to define completion instead of relying only on document height.

Rank #4
Sale
UGREEN USB to USB C Adapter Combo 4-Pack, 10Gbps USB C Converter Space Gray
  • Dual Converters, Infinite Potential:Includes 2× USB C male to USB A female adapters and 2× USB A male to USB C female adapters. Perfect for a wide range of uses—tablets with Bluetooth keyboards, expand USB ports on macbook, and more. Two different converters for all your daily needs
  • Next-Level 10Gbps & 3A Charging: No more slow 480Mbps, this usb to usb c adapter has a transfer speed of up to 10Gbps, allowing you to do more transferring in less time. This usb adapter fits both USB A and USB C charger, supporting up to 3A fast charging
  • Upgraded Exquisite Craftsmanship: With an aluminum alloy housing and metal connector, the usbc to usb adapter is extremely durable and sturdy. Rigorously tested to withstand more than 10,000 times of plugging and unplugging, ensuring long-lasting performance
  • Broad Compatible: The usb c to usb adapter widely supports all USB C/ USB A devices like laptops, tablets, cellphones, car chargers, and phone chargers. Such as compatible with MacBook Pro/Air 2023/2022, Thunderbolt 4/3 Devices,Apple MagSafe Watch 9/8/7/SE/Ultra, iPad Pro 2022/2021, Samsung Galaxy S23/S20/S10, and iPhone 17/16/15 Pro. Plug and play
  • Please Note: To reach 10Gbps speed, keep the cable under 3.3 ft. For USB A Male to USB C adapters, try flipping the USB C connector. USB C Male to USB A adapters support bidirectional 10Gbps transfer within 3.3 ft

The script stops while the feed is still loading

Height may remain unchanged during a request or between batches. Increase the site-specific wait or stable-round allowance, or use a selector/count that reflects the content you need. Do not increase limits without bound on a page that can continue forever.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The script runs to its limit

The feed may have no natural end, or the current stopping rule may not match its behavior. Set a practical boundary, such as a target section, item count, or maximum scroll depth, and capture that portion.

Best Value
Anker USB C Hub, 5-in-1 USBC to HDMI Splitter with 4K Display
  • 5-in-1 Connectivity: Equipped with a 4K HDMI port, a 5 Gbps USB-C data port, two 5 Gbps USB-A ports, and a USB C 100W PD-IN port. Note: The USB C 100W PD-IN port supports only charging and does not support data transfer devices such as headphones or speakers.
  • Powerful Pass-Through Charging: Supports up to 85W pass-through charging so you can power up your laptop while you use the hub. Note: Pass-through charging requires a charger (not included). Note: To achieve full power for iPad, we recommend using a 45W wall charger.
  • Transfer Files in Seconds: Move files to and from your laptop at speeds of up to 5 Gbps via the USB-C and USB-A data ports. Note: The USB C 5Gbps Data port does not support video output.
  • HD Display: Connect to the HDMI port to stream or mirror content to an external monitor in resolutions of up to 4K@30Hz. Note: The USB-C ports do not support video output.
  • What You Get: Anker 332 USB-C Hub (5-in-1), welcome guide, our worry-free 18-month warranty, and friendly customer service.

The screenshot has duplicate or shifted content

Scrolling can trigger sticky headers, animations, or page updates. Use a consistent viewport and scroll sequence, return to the intended starting position before the final capture, and inspect the resulting image.

Cost and reliability considerations

Playwright’s direct full-page call is appropriate when the document already contains the content. For scroll-triggered pages, reliability depends on the site-specific loading signal and your chosen boundary; neither a fixed delay nor a fixed number of steps works for every site. Infinite feeds also make “entire page” ambiguous, so define what portion the thumbnail should show. The reviewed Playwright documentation and issue do not establish a universal wait duration, guaranteed completion method, or success-rate statistic.

Automated capture is easier to repeat than manual scrolling, but consistent visual comparisons require keeping the viewport, scroll behavior, and stopping rule consistent. For occasional small captures, manual scrolling may be simpler. For a page that must be captured repeatedly, a bounded automation script with a target tied to the page’s content is easier to diagnose than an unbounded loop.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Frequently Asked Questions

Does Playwright’s fullPage: true scroll through an infinite feed?

No. It captures the full scrollable page, but scroll-gated content may require an actual scroll pass first.

Can an infinite-scroll page always be captured in full?

Not if it has no natural end. Define a target boundary such as a particular section or item count.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.