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

iTechGuides is reader-supported. When you buy through links on our site, we may earn an affiliate commission. As an Amazon Associate I earn from qualifying purchases. Learn more

To capture a list of pages with lazy-loaded images, visit each URL in a browser, scroll through the document in viewport-sized steps so scroll-triggered content can load, then take a full-page screenshot. A full-page option captures the page’s scrollable document; it does not by itself guarantee that images or sections that load only after scrolling have been requested.

Why full-page capture can still miss images

Lazy-loaded content may not be requested until it approaches the visible viewport. A screenshot tool can capture the full scrollable page without first triggering those requests, leaving blank areas or placeholders in the image. Playwright provides full-page screenshots, but scrolling and waiting for content are separate steps. Playwright’s screenshot guide describes full-page capture, and its Page API documents navigation and screenshot options.

The reliable general workflow is to scroll through the page, allow newly revealed content to load and render, and then capture. The precise wait and stopping conditions depend on the site.

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

Prepare a repeatable batch

  • Make a URL list. Store one page URL per line in a text file so the same input can be rerun.
  • Fix capture settings. Use a consistent viewport, browser, image format, and output directory. The viewport affects responsive layouts and how much content each scroll step reveals.
  • Choose stable filenames. Derive a safe filename from each URL or use a numbered sequence, and keep a log that maps each file to its URL and result.
  • Set limits. Decide how long to wait and, for infinite-scroll pages, how far to scroll or when to stop. Pages that keep adding content need an explicit stopping rule.

Capture the pages with Playwright

The following Node.js example reads URLs from urls.txt, visits each page, scrolls downward by roughly one viewport at a time, then saves a full-page PNG. It records failures per URL so one inaccessible or timed-out page does not end the whole batch. Install Playwright with npm install playwright; install its browser if needed with npx playwright install chromium.

#1 Best Overall
Philips 24 Inch Computer Monitor FHD 100Hz VA VESA Flicker-Free, 241V8LB
  • CRISP CLARITY: This 23.8″ Philips V line monitor delivers crisp Full HD 1920x1080 visuals. Enjoy movies, shows and videos with remarkable detail
  • INCREDIBLE CONTRAST: The VA panel produces brighter whites and deeper blacks. You get true-to-life images and more gradients with 16.7 million colors
  • THE PERFECT VIEW: The 178/178 degree extra wide viewing angle prevents the shifting of colors when viewed from an offset angle, so you always get consistent colors
  • WORK SEAMLESSLY: This sleek monitor is virtually bezel-free on three sides, so the screen looks even bigger for the viewer. This minimalistic design also allows for seamless multi-monitor setups that enhance your workflow and boost productivity
  • A BETTER READING EXPERIENCE: For busy office workers, EasyRead mode provides a more paper-like experience for when viewing lengthy documents
const fs = require('node:fs/promises');
const path = require('node:path');
const { chromium } = require('playwright');

const urls = (await fs.readFile('urls.txt', 'utf8'))
  .split(/r?n/)
  .map(line => line.trim())
  .filter(Boolean);

const outputDir = 'screenshots';
await fs.mkdir(outputDir, { recursive: true });

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

function filenameFor(url, index) {
  const hostname = new URL(url).hostname.replace(/[^a-z0-9.-]/gi, '_');
  return `${String(index + 1).padStart(4, '0')}-${hostname}.png`;
}

try {
  for (const [index, url] of urls.entries()) {
    try {
      await page.goto(url, { waitUntil: 'domcontentloaded', timeout: 45000 });

      let previousHeight = 0;
      let stablePasses = 0;
      for (let step = 0; step < 60; step++) {
        const height = await page.evaluate(() => document.documentElement.scrollHeight);
        await page.evaluate(y => window.scrollTo(0, y), Math.min(height, (step + 1) * window.innerHeight));
        await page.waitForTimeout(700);
        const newHeight = await page.evaluate(() => document.documentElement.scrollHeight);
        if (newHeight === previousHeight && newHeight === height) stablePasses++;
        else stablePasses = 0;
        previousHeight = newHeight;
        if (stablePasses >= 2 && (step + 1) * 900 >= newHeight) break;
      }

      await page.evaluate(() => window.scrollTo(0, 0));
      await page.waitForTimeout(300);
      await page.screenshot({
        path: path.join(outputDir, filenameFor(url, index)),
        fullPage: true,
        type: 'png'
      });
      console.log(`OK ${url}`);
    } catch (error) {
      failures.push({ url, error: String(error) });
      console.error(`FAILED ${url}: ${error.message}`);
    }
  }
} finally {
  await browser.close();
}

await fs.writeFile('failures.json', JSON.stringify(failures, null, 2));

The loop is a starting point, not a universal lazy-loading detector. It pauses after each scroll and stops after reaching the current page height with repeated unchanged-height checks, subject to a maximum of 60 steps. If a site loads content slowly, uses an unusual scroll container, or grows continuously, adjust the wait and stopping rule. Playwright supports saving screenshots to a file or buffer and its full-page option captures the scrollable document; see the screenshot guide and Page API.

Wait for meaningful readiness

When the page has a known image, section, or loading indicator, wait for that page-specific condition after scrolling rather than relying only on a fixed pause. A delay is simple but may be too short on a slow page and unnecessarily long on a fast one. Playwright discourages treating networkidle as a universal test-readiness signal; activity can stop before the visual content you care about is ready, or continue for reasons unrelated to that content. Use a concrete condition where possible, and still inspect representative results.

Rank #2
Philips 22 Inch Computer Monitor FHD 100Hz VA VESA Flicker-Free, 221V8LB
  • CRISP CLARITY: This 22 inch class (21.5″ viewable) Philips V line monitor delivers crisp Full HD 1920x1080 visuals. Enjoy movies, shows and videos with remarkable detail
  • 100HZ FAST REFRESH RATE: 100Hz brings your favorite movies and video games to life. Stream, binge, and play effortlessly
  • SMOOTH ACTION WITH ADAPTIVE-SYNC: Adaptive-Sync technology ensures fluid action sequences and rapid response time. Every frame will be rendered smoothly with crystal clarity and without stutter
  • INCREDIBLE CONTRAST: The VA panel produces brighter whites and deeper blacks. You get true-to-life images and more gradients with 16.7 million colors
  • THE PERFECT VIEW: The 178/178 degree extra wide viewing angle prevents the shifting of colors when viewed from an offset angle, so you always get consistent colors

Adapt the stopping condition

Ordinary pages can stop after the script reaches the current document height and that height stays unchanged for repeated checks. For infinite-scroll pages, decide on a maximum depth, expected item count, or a period with no further page growth. Without a limit, a page may keep extending and make the batch slow or unbounded.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

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

Review results and diagnose missing content

Check sample outputs and any pages that appear unusually short. Look for blank image regions, loading placeholders, clipped sections, and layout that shifted while the capture was being made. Keep failures associated with their source URLs so you can rerun or investigate them individually.

Rank #3
Sale
Dell 24 Monitor - SE2426H - 23.8-inch FHD (1920x1080) 144Hz 1ms Display, in-Plane Switching (IPS) Technology, AMD FreeSync™, TÜV 3-Star 2X HDMI, Tilt
  • Clear visuals. Fluid motion: A 144Hz refresh rate and 1ms MPRT deliver smooth, tear‑free motion across work, gaming, and streaming for clearer, more fluid viewing.
  • Eye comfort: TÜV Rheinland 3‑star* certification reduces harmful blue light while preserving stunning color quality without compromise. *TÜV Rheinland 3-star eye comfort certification.
  • Wide viewing angle: Get consistent views across a wide 178° /178° viewing angle.
  • In-Plane Switching (IPS): See excellent color accuracy and consistency across wide viewing angles with In-plane Switching (IPS) technology.
  • Ultra-thin bezels: Maximize your viewing experience with thin bezels.
  • Images are blank or placeholders remain: scroll farther or wait longer after the relevant section appears; if possible, wait for a particular image or content element.
  • The screenshot is shorter than expected: check whether the page is still growing, whether an infinite-scroll stopping limit was reached, or whether the content lives in a nested scrolling region rather than the main document.
  • The page looks different between runs: keep the viewport and browser settings consistent, and account for animations, fixed headers, consent notices, authentication, or other site-specific behavior.
  • A URL times out or shows a login wall or anti-automation challenge: log it as a failure rather than treating the image as a successful capture. Access and automation behavior can differ by site.

A single tall image is convenient for a whole-page review, but viewport-sized captures can be easier to inspect when a page is extremely long or when layout details matter at a particular scroll position.

Or skip the browser setup

ScreenshotNeo is a screenshot API and MCP server for developers. Its one-request endpoint can capture a URL; for a batch, repeat the request for each URL or use its bulk-capture option. See the ScreenshotNeo website and API documentation for request parameters.

Rank #4
Sale
Samsung 27" Essential S3 (S36GD) Series FHD 1800R Curved Computer Monitor
  • CURVED FOR ENHANCED ENGAGEMENT: An immersive viewing experience with a curved monitor that wraps more closely around your field of vision; It creates a wider view, enhancing depth perception and minimizing peripheral distraction
  • SMOOTH PERFORMANCE FOR SEAMLESS CONTENT: Stay in the action when playing games, watching videos, or working on creative projects; The 100Hz refresh rate reduces lag and motion blur so you don't miss a thing in fast-paced moments¹
  • MORE GAMING POWER: Gain the edge with optimizable game settings; Color and image contrast can be adjusted to see scenes more vividly and spot enemies hiding in the dark; Game Mode adjusts any game to fill the screen so you can view every detail²
  • KEEP IT EASY ON THE EYES: Care for your eyes and stay comfortable, even during long sessions; Advanced eye comfort technology certified by TÜV reduces eye strain by minimizing blue light and reducing irritating screen flicker²
  • INCREASED VERSATILITY: Connect to more; Plug devices straight into your monitor for increased flexibility, making your computing environment even more convenient
curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://stripe.com -o shot.webp

To capture each URL in a list, make the request once per URL and choose a distinct output filename. ScreenshotNeo’s documented features include full-page capture with lazy images loaded, bulk capture of up to 100 URLs per call, configurable waits, and PNG, JPEG, WebP, or PDF output. Cookie banners are accepted and removed before the shot, along with supported consent platforms, newsletter popups, and chat widgets; each cleanup step can be turned off. Bot checks, blank pages, timeouts, failed loads, and cache hits are not billed, and response headers identify the page verdict and billing status. Its MCP server exposes screenshot tools for AI agents. The Free plan includes 1,000 shots per month with no card; paid plans start at $5 for 3,000 shots.

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

Sign up free for 1,000 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

Frequently Asked Questions

Can I use this method for pages behind a login?

Only if your browser session has the required access and the site permits the automation. The batch example does not configure authentication, so protected pages may instead produce a login screen or fail.

Best Value
Sale
Sceptre New 22-Inch Gaming Monitor, FHD 1080p, Up to 144Hz, HDMI, DisplayPort, Built-in Speakers, Machine Black (E225W-FW144 Series, 2026)
  • 【INTEGRATED SPEAKERS】Whether you're at work or in the midst of an intense gaming session, our built-in speakers provide rich and seamless audio, all while keeping your desk clutter-free.
  • 【EASY ON THE EYES】 Protect your eyes and enhance your comfort with Blue-Light Shift technology. This feature reduces harmful blue light emissions from your screen, helping to alleviate eye strain during long hours of use and promoting healthier viewing habits.
  • 【WIDEN YOUR PERSPECTIVE】Our sleek minimal bezel design ensures undivided attention. The nearly bezel-free display seamlessly connects in a dual monitor arrangement, delivering an unobstructed view that lets you focus on more at once, completely distraction-free.

Should I always save one tall image?

No. A full-page image suits whole-document review, while viewport-sized captures can be easier to inspect for very long pages or specific layout details.

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.

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