DriversRecommendedOutdated drivers can make a good PC feel brokenScan driver issues before chasing fixes manually.Scan NowOctober DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsPC HealthRecommendedCrashes, freezes, slowdowns? Check your PC nowSpot repairable issues before they interrupt work.Check PC×
Skip to content
World desk4 min

Chrome Headless vs. Puppeteer for Full-Page Screenshots

Puppeteer provides an explicit full-page screenshot option; Chrome Headless CLI is suited to simple viewport captures. Learn when to use each and how to avoid incomplete shots.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

For repeatable full-page screenshots, use Puppeteer: set fullPage: true in page.screenshot(). Chrome Headless’s --screenshot command is handy for a quick viewport capture, but its documented CLI controls do not offer an equivalent full-page option. This is a workflow recommendation based on the documented controls, not a claim that one is faster.

How the two approaches differ

Question Puppeteer Chrome Headless CLI
Full-page capture Explicit fullPage: true option in the screenshot API. The CLI documents --screenshot and viewport sizing, but not a comparable full-page option.
Best fit Automated workflows that need navigation, page interaction, element capture or screenshot options. Simple command-line viewport captures.
Readiness control Wait for a navigation condition, then add page-specific readiness checks where needed. --timeout sets a maximum wait; it does not establish that dynamic content is ready.
Display sizing Configure the page viewport through browser automation and screenshot options. --window-size and Headless virtual-screen settings configure display dimensions.

Puppeteer is a JavaScript library for automating Chrome and Firefox, according to Chrome for Developers. Its screenshot guide demonstrates navigating before capture, while the API exposes controls for full-page capture, clipping, output type, and background transparency. See the Puppeteer screenshot guide and ScreenshotOptions reference.

As an Amazon Associate I earn from qualifying purchases.

Capture a full page with Puppeteer

Install Puppeteer in a Node.js project, save this as screenshot.js, and run it with node screenshot.js. Replace the URL as needed.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
const puppeteer = require('puppeteer');

(async () => {
  const browser = await puppeteer.launch();
  try {
    const page = await browser.newPage();
    await page.setViewport({ width: 1440, height: 900 });
    await page.goto('https://example.com', { waitUntil: 'networkidle2' });
    await page.screenshot({ path: 'page.png', fullPage: true });
  } finally {
    await browser.close();
  }
})();

fullPage is optional and defaults to false; setting it to true requests a screenshot of the full page. The navigation condition shown is an example, not a guarantee that every site’s delayed or user-triggered content has finished loading. Wait for a meaningful selector or application-specific condition when necessary. The current API reference displayed Puppeteer version 25.12.0 when accessed on October 3, 2026.

#1 Best Overall
HP 14" HD Chromebook Laptop for Students, Intel Quad-Core N4120(> N4020), 4GB RAM, 64GB eMMC, WiFi, Webcam, HDMI, USB-A&C, 14 Hours Battery Life, Zoom, Chrome OS, CUE Accessories
  • Intel Celeron N4120: 4 Cores & Threads, 1.1GHz Base Clock, Up to 2.6GHz Boost Clock, 4MB Cache, Intel UHD Graphics 600. The perfect combination of performance, power consumption, and value helps your device handle multitasking smoothly and reliably with four processing cores to divide up the work.

Useful screenshot options

  • path writes the image to a file; type selects an output format such as PNG or JPEG.
  • clip captures a defined region when you need a crop instead of the entire document.
  • omitBackground can make the page background transparent where supported by the chosen output.
  • captureBeyondViewport controls capture beyond the viewport; its documented default depends on whether a clip is supplied. Check the API reference for the options and defaults in your installed version.
  • For one component rather than a whole document, use an element handle’s screenshot() method, as shown in the screenshots guide.

Take a quick viewport screenshot with Chrome Headless

Use Chrome’s command-line screenshot flag for a straightforward capture. Set the viewport dimensions explicitly and provide a URL:

chrome --headless --window-size=1440,900 --screenshot=page.png https://example.com

The exact executable name can vary by operating system and installation. Consult the Chrome Headless command-line reference for the flags. Its --timeout option sets the maximum time to wait before capture, even if the page is still loading; it is not a signal that asynchronous content is complete.

Keep full-page capture, viewport, and display settings distinct

A full-page screenshot asks the capture mechanism to include the document beyond the visible viewport. Viewport dimensions determine the page’s layout width and height, which can affect responsive design and line wrapping. Headless virtual-screen settings configure the simulated display. These settings are related but are not interchangeable: changing the virtual screen does not itself enable Puppeteer’s fullPage behavior.

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

Chrome documents additional Headless screen configuration in its virtual screens guide. For repeatable results, record the browser and automation-library versions, Headless mode, viewport dimensions, device/display settings, and readiness condition alongside the output.

Rank #3
ASUS 2026 15" FHD IPS Chromebook, Intel Processor Up to 2.80GHz, 4GB DDR4, 128GB Storage, HDMI, Super-Fast WiFi, Chrome OS, Pastel Silver (Renewed)
  • Intel Processor Up to 2.80GHz, 4GB DDR4, 128GB Storage
  • 15" FHD IPS Display, Intel UHD Graphics
  • 1x USB Type C, 1 x USB Type A, 1x Headphone/Microphone Combo Jack, HDMI
  • Fast WiFi and Bluetooth, Integrated Webcam
  • Chrome OS, AC Charger Included, Pastel Silver

Choose the right Headless mode

Puppeteer documents regular Headless Chrome and chrome-headless-shell as distinct modes. The shell does not fully match regular Chrome, though it may be more performant for automation that does not need the complete Chrome feature set. That is not evidence of a universal speed advantage for screenshot jobs. Validate captures in the same mode you intend to use in production; see the Puppeteer Headless modes guide.

Troubleshoot missing or inconsistent content

  • The image shows only the viewport: Confirm you are using Puppeteer and set fullPage: true. The documented Chrome CLI screenshot flow does not provide the same full-page API control.
  • Images or page sections are missing: The page may still be loading deferred content. Wait for a relevant selector or application-specific readiness condition before capture; a maximum timeout alone does not confirm readiness.
  • The layout differs from a normal browser: Check the viewport width, screen configuration, browser version, and Headless mode. Regular Headless and chrome-headless-shell are not fully equivalent.
  • A clipped capture is unexpectedly small: Review the clip dimensions and the captureBeyondViewport setting against the installed Puppeteer version’s API reference.
  • The CLI captures too early: Increase the maximum wait if appropriate, but also verify page readiness independently; --timeout is a ceiling, not a dynamic-content completion test.

Or skip the browser setup

ScreenshotNeo is a website screenshot API and MCP server. A single GET request can return a screenshot or PDF, and its clean-shot steps can accept consent banners and remove more than 60 known consent platforms, newsletter popups, and chat widgets; each step can be turned off. Bot checks, blank pages, timeouts, failed loads, and cache hits are not billed, with the outcome identified in response headers. AI agents can use its MCP tools to take screenshots, get page information, and capture PDFs.

Example cURL request for a screenshot:

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

See the ScreenshotNeo documentation for API parameters and setup. The free plan includes 1,000 shots per month with no card; paid plans start at $5 for 3,000 shots. Sign up for ScreenshotNeo and start with 1,000 free screenshots a month, no card required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #4
Sale
Lenovo Chromebook 2-in-1 - Lightweight Laptop - Google Gemini - Intel® N150 CPU - 14" WUXGA IPS Touchscreen Display - 4GB RAM - 128GB UFS Storage - Integrated Intel® Graphics - Luna Grey
  • THE BETTER WAY TO LAPTOP – Imagine a Chromebook that’s as flexible as your day: thin and lightweight with built-in Google apps and stress-free security.
  • TAKE HITS KEEP MOVING – Sleek, light, and built to last- the Chromebook 2-in-1 is just 0.69” thick and 3.3lbs. Enjoy long-lasting battery life, fast charging, and military-grade durability for nonstop productivity wherever life takes you.
  • PERFORMANCE THAT MATCHES YOUR HUSTLE – Fuel your ideas with an Intel Core processor and 128GB storage. Boot up in under 10 seconds to start the day powerfully efficient.
  • FLEX YOUR CREATIVITY ANYWHERE, ANYTIME – Create, work, or unwind your way with a versatile 2-in-1 design. Flip easily between laptop, tent, and tablet modes with a responsive touchscreen built for flexibility.
  • BRILLIANT VIEWS AND IMMERSIVE AUDIO – See, hear, and create with awesome clarity. The WUXGA display brings rich detail to your work and play, while audio tuned by Waves MaxxAudio provides immersive, balanced sound.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Frequently Asked Questions

Does Puppeteer take a full-page screenshot by default?

No. Its fullPage option defaults to false; set it to true for a full-page capture.

Is Chrome Headless faster than Puppeteer?

The comparison is not like-for-like: Puppeteer is an automation library that can drive Chrome, while Chrome Headless is a browser mode and CLI workflow. The cited documentation does not establish a general speed winner.

Best Value
HP Chromebook 14 Laptop, Intel Celeron N4120, 4 GB RAM, 64 GB eMMC, 14" HD Display, Chrome OS, Thin Design, 4K Graphics, Long Battery Life, Ash Gray Keyboard (14a-na0226nr, 2022, Mineral Silver)
  • FOR HOME, WORK, & SCHOOL – With an Intel processor, 14-inch display, custom-tuned stereo speakers, and long battery life, this Chromebook laptop lets you knock out any assignment or binge-watch your favorite shows..Voltage:5.0 volts
  • HD DISPLAY, PORTABLE DESIGN – See every bit of detail on this micro-edge, anti-glare, 14-inch HD (1366 x 768) display (1); easily take this thin and lightweight laptop PC from room to room, on trips, or in a backpack.
  • ALL-DAY PERFORMANCE – Reliably tackle all your assignments at once with the quad-core, Intel Celeron N4120—the perfect processor for performance, power consumption, and value (2).
  • 4K READY – Smoothly stream 4K content and play your favorite next-gen games with Intel UHD Graphics 600 (3) (4).
  • MEMORY AND STORAGE – Enjoy a boost to your system’s performance with 4 GB of RAM while saving more of your favorite memories with 64 GB of reliable flash-based eMMC storage (5).

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.

Leave a Reply

Your email address will not be published. Required fields are marked *

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

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Windows Errors? Fix Them Before They SpreadFree repair scan
Outdated Drivers Are Slowing You DownFree scan - exact matches

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.