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

Use Puppeteer’s Page.screenshot() method with fullPage: true to save a website’s rendered page as one tall image. Set the viewport before navigating if the report needs a specific responsive layout, and add a site-specific readiness check when the page loads content after navigation.

Generate a full-page screenshot with Puppeteer

The following example uses the current Puppeteer screenshot workflow documented in the official Screenshots guide. It saves a PNG in the process’s current working directory. This is an illustrative starting point; a site’s deferred content or overlays may require additional waits or interactions.

import puppeteer from 'puppeteer';

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: 'report.png', fullPage: true });
} finally {
  await browser.close();
}

Install Puppeteer in your project before running the example. Use an ES module context, or adapt the imports to your project’s module setup. The finally block closes the browser even if navigation or capture fails, which helps avoid leaving a browser process running.

  1. Choose the viewport. The example sets a 1440-by-900 viewport before navigation so the page renders against the intended desktop dimensions. Use dimensions that match the report’s intended layout; for mobile output, choose a mobile-sized viewport instead. Puppeteer advises setting the viewport before navigation when it matters because changing device-like dimensions can surprise some sites. See the Page API.
  2. Navigate to the page. waitUntil: 'networkidle2' is the wait condition used in Puppeteer’s example sequence. It is not proof that every application is finished: lazy-loaded sections, animations, consent dialogs, and other site-specific behavior can need a selector-based wait or an interaction.
  3. Capture the page. fullPage: true requests a screenshot of the full page rather than just the visible viewport. The ScreenshotOptions reference lists false as the default, so specify true explicitly for a report capture.
  4. Check the file. Inspect the saved image for missing below-the-fold content, overlays, or unexpected responsive layout. The screenshot API does not guarantee that every site’s visual state is ready when a particular navigation wait finishes.

Choose the right image settings

The screenshot options let you control the output and capture region. Select only the settings that match the report’s needs.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#1 Best Overall
Sale
Epson Workforce ES-50 Compact & Lightweight Mobile Document Scanner
  • PORTABLE SCANNER FOR USE ON-THE-GO — The fastest and lightest mobile single-sheet-fed compact document scanner in its class¹
  • QUICK DOCUMENT SCANNING ― This Epson ultra-fast scanner scans a single page as quickly as 5.5 seconds²; Windows and Mac compatible
  • VERSATILE PAPER HANDLING ― Portable scanner scans documents up to 8.5 x 72 in; Also easily digitizes receipts and ID cards to make accounting, bookkeeping, and organizing simpler
  • INTUITIVE, HIGH-SPEED SOFTWARE — Epson ScanSmart Software³ is a smart tool allowing you to easily scan, review, and save; Stay organized easily with the help of this Epson scanner
  • EASY SETUP — USB-powered connect to your computer for quick and simple scanning; No batteries or external power supply required to operate portable document scanner; Standard Connectivity: USB 2.0
Option What it does When to use it
path Saves the screenshot to a file. A relative path is resolved from the current working directory. Use a meaningful filename and directory for report-generation output.
fullPage Requests capture of the full page; the documented default is false. Set it to true for a top-to-bottom page image.
type Selects an image format. If omitted, Puppeteer can infer the type from the file extension. Choose a format compatible with how the report will embed or distribute the image.
quality Sets image quality for formats that support it; it does not apply to PNG. Use it when selecting a supported lossy format and balancing file size against visual detail.
clip Limits capture to a specified region. Use it when the report needs a crop rather than the whole document.
Background handling and encoding Screenshot options include background handling and encoding controls. Set these when the receiving report pipeline needs a particular image representation or background treatment.

See the full ScreenshotOptions interface for option details. If repeatability matters, record the URL, viewport dimensions, wait strategy, and screenshot settings with the report-generation configuration; that recordkeeping is a workflow practice, not a Puppeteer feature.

Wait for content that appears after navigation

A page can continue changing after its initial document loads. A network-idle condition is only a starting point, not a universal signal that a page is visually complete. For pages with deferred content, wait for a meaningful element or perform the interaction that reveals the content before taking the screenshot.

Rank #2
Sale
Brother DS-640 Compact Mobile Document Scanner, (Model: DS640)
  • FAST SPEEDS - Scans color and black and white documents a blazing speed up to 16ppm (1). Color scanning won’t slow you down as the color scan speed is the same as the black and white scan speed.
  • ULTRA COMPACT – At less than 1 foot in length and only about 1. 5lbs in weight you can fit this device virtually anywhere (a bag, a purse, even a pocket).
  • READY WHENEVER YOU ARE – The DS-640 mobile scanner is powered via an included micro USB 3. 0 cable allowing you to use it even where there is no outlet available. Plug it into you PC or laptop and you are ready to scan.
  • WORKS YOUR WAY – Use the Brother free iPrint&Scan desktop app for scanning to multiple “Scan-to” destinations like PC, Network, cloud services, Email and OCR. (2) Supports Windows, Mac and Linux and TWAIN/WIA for PC/ICA for Mac/SANE drivers. (3)
  • OPTIMIZE IMAGES AND TEXT – Automatic color detection/adjustment, image rotation (PC only), bleed through prevention/background removal, text enhancement, color drop to enhance scans. Software suite includes document management and OCR software. (4)
  • Lazy-loaded sections or images: check whether they appear in the resulting image. If not, use the page’s own loading behavior and an appropriate site-specific wait before capture.
  • Consent overlays or popups: decide whether the report is meant to show them. If it is not, handle the overlay in your automation before capture rather than assuming navigation will remove it.
  • Animations or rotating content: choose a stable point or page state for the capture and inspect the output for inconsistent frames.
  • Repeatable reports: keep the viewport and readiness strategy fixed across runs, then compare representative output images to spot page changes.

Puppeteer’s documentation describes the screenshot API and example navigation sequence, but does not establish a single readiness condition that works for every site.

When a PDF is a better report deliverable

A full-page screenshot produces one continuous image. Use page.pdf() when the report should be a paginated document with paper sizing, margins, page ranges, or print-oriented layout. Puppeteer’s Page API documents PDF generation as using print CSS media by default. If the PDF should reflect screen styling, call page.emulateMediaType('screen') before page.pdf().

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.
Rank #3
Sale
Canon imageFORMULA R10 - Portable Document Scanner, USB Powered, Duplex Scanning, Document Feeder, Easy Setup, Convenient, Perfect for Mobile Users, White
  • STAY ORGANIZED – Easily convert your paper documents into digital formats like searchable PDF files, JPEGs, and more.Power Consumption : 2.5W or less (Energy Saving Mode: 0.7W). Suggested Daily Volume : 500 scans..Does it contain liquid: no
  • CONVENIENT AND PORTABLE –lightweight and small in size, you can take the scanner anywhere from home offices, classrooms, remote offices, and anywhere in between
  • HANDLES VARIOUS MEDIA TYPES – Digitize receipts, business cards, plastic or embossed cards, reports, legal documents, and more
  • FAST AND EFFICIENT – No technical hurdles or complicated setups here; easily scan both sides of a document at the same time, in color or black-and-white, at up to 12 pages-per-minute, and with a 20 sheet automatic feeder
  • BROAD COMPATIBILITY – Works with both Windows and Mac devices, be it laptop or computer

The PDFOptions interface documents controls including paper format, margins, scale, backgrounds, and page ranges. PDF generation also modifies colors for printing by default; Puppeteer points to -webkit-print-color-adjust when exact colors are needed. A PDF is therefore not simply another encoding of the full-page image: choose based on whether reviewers need one continuous visual capture or a page-oriented document.

Capture a single element instead of the whole page

If the report needs a chart, card, or other component rather than the complete document, Puppeteer’s screenshot guide shows capturing an element. The element helper scrolls the target into view when necessary. This is useful when the report needs a focused visual, but it does not replace a full-page capture when surrounding page context matters. See the Screenshots guide.

Rank #4
IRIScan Express 4 Black Compact Portable USB Simplex Document Scanner, 8 PPM for Contracts, Invoices and Business Cards, Compatible with Windows, Readiris PDF Included
  • IRIScan Express, portable scanner : scans color and black and white documents a blazing speed up to 8ppm simplex. Color scanning won’t slow you down as the color scan speed is the same as the black and white scan speed.
  • IRIScan Express mobile scanner is powered via an included micro USB 2. 0 cable allowing you to use it even where there is no outlet available. Plug it into you PC or laptop and you are ready to scan. USB cable provided. AC Adapter not provided and not needed.
  • IRIScan flatbed scanner uses a simplex scanning mode allows for quick and straightforward scanning of single-sided documents. IRIScan with its full portable features is the ideal document scanners for computers.
  • IRIScan document scanner : Versatile scanning capabilities, including scanning to Word, PDF, and Excel formats with companion software provided Readiris OCR
  • Receipt scanner and card scanner with Additional features include scanning business cards directly to Outlook, photo scanning, and receipt scanning for efficient document management

Troubleshoot common capture problems

  • The screenshot stops at the viewport: set fullPage: true; its default is false according to the options reference.
  • The layout has the wrong desktop or mobile shape: set the intended viewport before calling page.goto(). Puppeteer notes that some sites may not expect viewport changes; see the Page API.
  • Images or sections are missing: do not assume networkidle2 guarantees application readiness. Add a page-specific wait or interaction and verify the new output.
  • The image format is not what you expected: set type explicitly, or ensure the file extension in path matches the desired format. The extension can determine the inferred type.
  • A quality setting has no effect: quality is not applicable to PNG. Use a format that supports the option if quality adjustment is required.
  • The image contains unwanted surroundings: use the documented clip option for a defined region, or capture a specific element when only one component is needed.
  • Automation appears blocked while capturing: Puppeteer documents that screenshot work can affect coordination with page lifecycle operations in a browser context: operations such as creating or closing pages wait for a screenshot to finish. See Page.screenshot().
  • Navigation to an existing PDF fails in headless shell mode: Puppeteer’s Page API warns that headless shell mode does not support navigating to a PDF document. This concerns opening an existing PDF URL; it is distinct from generating a PDF from a rendered page with page.pdf().
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Or skip the browser setup

If you want an API call rather than managing a Puppeteer browser, ScreenshotNeo returns a website screenshot or PDF from one GET request. Its screenshot options include full-page capture, and its response headers report the page verdict and whether the request was billed.

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 request parameters. ScreenshotNeo removes cookie and consent banners, newsletter popups, and chat widgets before capture; each cleanup step can be turned off. Bot checks or CAPTCHAs, blank pages, timeouts, failed loads, and cache hits are not billed. Its MCP server provides take_screenshot, get_page_info, and capture_pdf tools for AI agents and other MCP clients. The Free plan includes 1,000 screenshots per month with no card; paid plans start at $5 for 3,000 screenshots.

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

Sign up for ScreenshotNeo’s free plan: 1,000 screenshots a month, no card required.

Best Value
Canon Canoscan Lide 300 Scanner (PDF, AUTOSCAN, Copy, Send)
  • Scanner type: Document
  • Connectivity technology: USB
  • With Auto Scan Mode, the scanner automatically detects what you're scanning
  • Digitize documents and images

Frequently Asked Questions

Can I use Puppeteer to capture only one element?

Yes. Puppeteer’s screenshot guide documents element screenshots; the helper scrolls the target into view if needed.

Does full-page capture include content that has not loaded yet?

Not necessarily. The capture reflects the page state when it runs, so deferred content may need a site-specific wait or interaction.

Quick Recap

SaleBestseller No. 3
Canon imageFORMULA R10 - Portable Document Scanner, USB Powered, Duplex Scanning, Document Feeder, Easy Setup, Convenient, Perfect for Mobile Users, White
Canon imageFORMULA R10 - Portable Document Scanner, USB Powered, Duplex Scanning, Document Feeder, Easy Setup, Convenient, Perfect for Mobile Users, White
BROAD COMPATIBILITY – Works with both Windows and Mac devices, be it laptop or computer; This product is not intended for scanning photographs on photo paper / photographic media
$153.00
Bestseller No. 4
IRIScan Express 4 Black Compact Portable USB Simplex Document Scanner, 8 PPM for Contracts, Invoices and Business Cards, Compatible with Windows, Readiris PDF Included
IRIScan Express 4 Black Compact Portable USB Simplex Document Scanner, 8 PPM for Contracts, Invoices and Business Cards, Compatible with Windows, Readiris PDF Included
Find our Software here : irislink.com/start; IRIScan Express is only compatible Windows platform and not macintosh
$129.00
Bestseller No. 5
Canon Canoscan Lide 300 Scanner (PDF, AUTOSCAN, Copy, Send)
Canon Canoscan Lide 300 Scanner (PDF, AUTOSCAN, Copy, Send)
Scanner type: Document; Connectivity technology: USB; With Auto Scan Mode, the scanner automatically detects what you're scanning
$75.00

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.

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.