logo of Screenshot for Web
Free toolsPlaygroundDocsBlogPricing
LoginDashboard

Company

HomeFeaturesPricingBlogFacts

Screenshot Tools

Website ScreenshotsFull Page ScreenshotsScrolling ScreenshotsWebsite HistoryPDF Generation APIScreenshot API

Legal

Terms of UsePrivacy PolicyCookie PolicyCopyrightSecurity

Support

FAQSupportContact UsAPI Status
screen shot for web logo

No clutter. No distractions. Just clean, full-page screenshots with smart customization.

© 2026 HYDRANODE LTD. All rights reserved.

Screenshot for Web is operated by HYDRANODE LTD, a company registered in England and Wales, company number 15672526. Registered office: 124 City Road, London, London, England, EC1V 2NX.

FacebookInstagramLinkedInYouTube
  1. Home
  2. Blog
  3. Research

Chrome DevTools' full-size screenshot: where it fails on long and lazy pages

We ran DevTools' full-size screenshot on six long pages: it stops at 16,384 pixels and misses content that appears on scroll. Here's why, and the fixes that worked.

Screenshot for Web·November 8, 2026·7 min read

Sources

  1. Chrome DevTools frontend source: ScreenCaptureModel.ts (the screenshot command DevTools sends)
  2. Chrome DevTools frontend source: browser HostRuntime.ts (how DevTools saves the image)
  3. devtools-frontend commit 8f1871b: Limit the screenshot height (crbug 1260828)
  4. Chrome DevTools Protocol: Page.captureScreenshot
  5. Chrome for Developers: Simulate mobile devices with device mode (Capture a screenshot, device pixel ratio)
  6. Chrome for Developers: Run commands with the Command Menu
  7. web.dev: Browser-level image lazy loading for the web

How this article was made

Researched and drafted with AI assistance from the sources listed, including Chrome DevTools' own source code. On 8 November 2026 we ran DevTools' real Capture full size screenshot command, triggered by Puppeteer 25.16.0 (puppeteer-core) in a normal Chrome 156.0.8078.80 window on an Apple M5 Mac with macOS 26.6, on a local test page and five public pages. The code samples were run the same day. Our free screenshot tool did not respond during this run, so the article makes no claims about it.

Capture any page without ads, banners or chat widgets, free and without an account.

Try the free tools

More articles

  • News

    Puppeteer 25.19 stops print and dark mode emulation from cancelling each other

    Before Puppeteer 25.19.0, emulateMediaType and emulateMediaFeatures reset each other, losing print or dark mode. Our tests, the fix and a workaround.

    November 26, 2026
  • News

    Chrome 158 drops XSLT: what it does to screenshots of sitemaps and feeds

    We captured eight live sitemaps in Chrome 156 and Chromium 158. Styled pages turn into raw XML, a red warning bar is already in captures, and two fixes work.

    November 9, 2026
  • Research

    Running headless Chrome yourself vs a screenshot API: memory and time for 100 captures

    We ran 100 real-site captures six ways on a 2-CPU, 4 GB container and measured time, CPU, memory and failures, to show what self-hosting really asks of a server.

    November 7, 2026

Chrome DevTools' Capture full size screenshot is the quickest way to get a whole web page as one image, and on short pages it works well. On long pages it has three problems you can't see until you open the file. The image stops at 16,384 pixels, which on a Retina screen is only 8,192 CSS pixels of page. Anything that loads or appears when you scroll is missing. And on some pages, scrolling first doesn't help at all. We ran the real DevTools command on a test page and five public pages; below are the results, the reason for each failure in DevTools' own source code, and the workarounds that worked.

How to run the command

Open DevTools, press Command+Shift+P on a Mac or Control+Shift+P on Windows and Linux to open the Command Menu, type "screenshot" and pick Capture full size screenshot. The same command sits in Device Mode's More options menu. Chrome saves a PNG to your downloads folder, named after the page's address.

What DevTools actually does

DevTools' source shows that the command is one call to the Chrome DevTools Protocol, the interface Puppeteer and Playwright also use. ScreenCaptureModel.ts sends Page.captureScreenshot with format: "png", fromSurface: true and captureBeyondViewport: true. The protocol documentation describes captureBeyondViewport as "Capture the screenshot beyond the viewport" and marks it experimental. There is no scroll step and no wait: Chrome paints the page as it stands at that moment, taller than the window, and returns one image.

Then DevTools saves it. In HostRuntime.ts the image is drawn onto a canvas whose height is Math.min(1 << 14, ...), which is 16,384 pixels, with the comment "Cap the height to not hit the GPU limit". The commit that added it in January 2022 explains why: heights are limited "to avoid hitting the GPU limit and having incorrect results behind that limit in case of device_scale_factor > 1". So the cut is deliberate. Anything below 16,384 device pixels is dropped without a warning.

How we tested

  • Browser: Google Chrome 156.0.8078.80 in a normal window (not headless) on an Apple M5 MacBook with a Retina display, so the device pixel ratio was 2.
  • The command: a Puppeteer script opened DevTools, then ran DevTools' own emulation.capture-full-height-screenshot action inside the DevTools window and collected the PNG it downloaded. This is the same code path as choosing the command from the menu.
  • Window: 1,440 × 1,000. DevTools was docked on the right, so the page itself was 885 × 715 CSS pixels.
  • Two runs per page: one 2 seconds after the load event, and one after scrolling the page to the bottom and back to the top.
  • Pages: a local test page we wrote (a fixed header, a 100vh hero, six loading="lazy" images served with a 300 ms delay, six blocks that only appear when an IntersectionObserver sees them, and a red footer), plus github.com, vercel.com, apple.com/iphone, unsplash.com and web.dev's article on lazy loading.

Results

DevTools always shows 8,192 CSS pixels of page at most on this screen (16,384 ÷ 2).

PagePage height (CSS px)Image height (px)Share of page in the imageRight after loadAfter a scroll pass
Local test page10,61516,38477%4 of the 5 lazy images in the image grey; all 5 scroll-in blocks missingAll filled in; footer still cut off
github.com12,57616,38465%Product illustrations empty; 11 of 22 images loadedFilled in; 22 of 22 loaded
apple.com/iphone17,52116,38447%Large product sections emptyFilled in
web.dev lazy-loading article13,28816,38462%No gaps; all 16 images loadedSame
vercel.com5,407 (6,890 after scrolling)10,814 / 13,780100%Lower sections blankLower sections still blank
unsplash.com6,506 (11,676 after scrolling)13,012 / 16,384100% / 70%Most photos blurred placeholders; 30 of 66 images loadedStill blurred placeholders

The test page shows all three problems at once. Right after load, only the first lazy image had arrived and none of the scroll-in blocks were visible. After scrolling, all of them were there, but the image still ended in section 5, with the footer gone.

Two crops of the github.com homepage captured with DevTools. Right after load, the Actions and Code Quality cards are empty white frames and the "More ways to use GitHub" heading is missing. After scrolling, the cards show a checks list and a code suggestion.

GitHub's illustrations animate in as they scroll into view, so a capture taken straight after load has empty frames. Apple's iPhone page behaves the same way, with whole sections fading in on scroll:

Two crops of apple.com/iphone captured with DevTools. On the left, right after load, a large grey area is empty. On the right, after scrolling, the same area shows the Explore the lineup carousel and the Why Apple is the best place to shop iPhone cards.

web.dev came out complete because its images use the browser's native loading="lazy". web.dev's own article says Chrome starts loading those images 1,250 px before they reach the viewport on fast connections, and on this page all 16 were already loaded at capture time. Images and sections shown by JavaScript when they scroll into view, like GitHub's and Apple's, don't get that head start. Our article on blank images in full-page screenshots covers the lazy-loading patterns in more detail.

Two pages were not fixed by scrolling. Vercel's lower sections stayed blank in every capture we made, and we didn't find the cause. Unsplash showed blurred placeholders instead of most photos, before and after scrolling, and its feed kept growing as we scrolled, so there is no bottom to reach.

A crop of unsplash.com captured with DevTools right after load: two columns of photo tiles, nearly all of them soft blurred colour placeholders rather than photos.

Why DevTools crops at 16,384 pixels

We sent DevTools' exact command ourselves and saved the result without cropping. With the GPU on, which is Chrome's default, the 21,114-pixel image was wrong below row 16,384: from there down it repeated the top of the page, pixel for pixel, instead of showing sections 5 and 6 and the footer. With Chrome started with --disable-gpu, the same command returned the whole page correctly. Headless Chrome on the same Mac behaved the same way: the top repeated with the GPU on, and the full page came back with it off.

So DevTools trades a wrong bottom for a missing one. Both are silent, and the missing one is at least honest about what's there. This is on our Mac; we didn't test Windows or Linux GPUs.

Workarounds that worked

  1. Scroll first. Scroll to the bottom and back before running the command. To do it reliably, paste this into the DevTools Console, wait for it to finish, then run the command. It stops after 20,000 CSS pixels so endless feeds don't keep it going. We ran exactly these lines in the page before each "after a scroll pass" capture above.
const stop = Math.min(document.documentElement.scrollHeight, 20000);
for (let y = 0; y < stop; y += innerHeight / 2) {
  scrollTo(0, y);
  await new Promise((r) => setTimeout(r, 150));
}
scrollTo(0, 0);
  1. Capture at a device pixel ratio of 1. The limit is in device pixels, so a ratio of 1 doubles the page height that fits on a Retina screen. When we started Chrome with --force-device-scale-factor=1, which is what a 1× monitor gives you, DevTools saved the whole 10,615-pixel test page after a scroll pass. Device Mode also has a device pixel ratio menu (More options, then Add device pixel ratio), but we didn't test the capture through that menu.

  2. Undock DevTools or dock it at the bottom if you want the page at the width your users see. Docked on the right in our window, it squeezed the page to 885 CSS pixels wide, a narrower layout than the window size suggests.

  3. For pages taller than 16,384 CSS pixels, or for repeat captures, use a script. This Puppeteer script scrolls first, stops on endless pages, keeps under the limit, and clips the image honestly when a page is too tall.

// node fullpage.mjs <url> <out.png> [scale]
import puppeteer from "puppeteer-core";

const [url, out, scale = "1"] = process.argv.slice(2);
const MAX_HEIGHT = 16_384 / Number(scale); // CSS px that fit under the limit

const browser = await puppeteer.launch({
  executablePath: "/Applications/Google Chrome.app/Contents/MacOS/Google Chrome",
});
try {
  const page = await browser.newPage();
  await page.setViewport({ width: 1280, height: 800, deviceScaleFactor: Number(scale) });
  await page.goto(url, { waitUntil: "networkidle2", timeout: 45_000 });

  // Scroll down in half-screen steps so lazy images load and scroll
  // animations run. Stop at the bottom, or at MAX_HEIGHT on endless pages.
  const reached = await page.evaluate(async (max) => {
    let y = 0;
    while (y < Math.min(document.documentElement.scrollHeight, max)) {
      y += innerHeight / 2;
      scrollTo(0, y);
      await new Promise((r) => setTimeout(r, 200));
    }
    scrollTo(0, 0);
    return document.documentElement.scrollHeight;
  }, MAX_HEIGHT);

  // Let images that started loading during the scroll finish.
  await page.waitForNetworkIdle({ idleTime: 500, timeout: 15_000 }).catch(() => {});
  await page.evaluate(() => document.fonts.ready);

  const height = Math.min(reached, MAX_HEIGHT);
  await page.screenshot({
    path: out,
    fullPage: reached <= MAX_HEIGHT,
    clip: reached > MAX_HEIGHT ? { x: 0, y: 0, width: 1280, height } : undefined,
    captureBeyondViewport: true,
  });
  console.log(`${url}: page ${reached} px tall, saved ${height} px to ${out}`);
} finally {
  await browser.close();
}

With the puppeteer package instead of puppeteer-core, drop the executablePath line to use its bundled browser. Our run at a 1,280-pixel-wide viewport printed:

http://127.0.0.1:8127/: page 10700 px tall, saved 10700 px to shots/testpage-script.png
https://github.com/: page 7596 px tall, saved 7596 px to shots/github-script.png
https://vercel.com/: page 5670 px tall, saved 5670 px to shots/vercel-script.png
https://www.apple.com/iphone/: page 16195 px tall, saved 16195 px to shots/apple-iphone-script.png
https://unsplash.com/: page 800 px tall, saved 800 px to shots/unsplash-script.png
https://web.dev/articles/browser-level-image-lazy-loading: page 10607 px tall, saved 10607 px to shots/webdev-lazy-script.png

The test page, GitHub, Apple and web.dev came out complete, footers included. Apple's 16,195-pixel page only just fit. Vercel's lower sections were partly blank again. Unsplash's 800-pixel result is not a success: the image is an "Access Denied" page, because the site refused this headless browser. Check what a script saved, not just its size.

If you need a scale of 2 for a page taller than 8,192 CSS pixels, start Chrome with --disable-gpu, which gave correct images past 16,384 pixels in our tests, or capture the page in parts with clip and join them. Our free screenshot tool and the API docs cover full-page captures without running a browser yourself.

What to take away

  • DevTools' full-size screenshot never goes past 16,384 pixels, which is 8,192 CSS pixels on a Retina screen. It doesn't warn you.
  • It doesn't scroll, so content that loads or animates in on scroll is missing unless you scroll first.
  • Native loading="lazy" images near the top of a page usually load in time; images and sections shown by scroll scripts usually don't.
  • Some pages, like Vercel's and Unsplash's here, need more than a scroll. Look at the image before you use it.