Halloween DealsAmazon USHalloween week deals: useful picks before month-endAmazon US: current deals, useful picks and tech finds.Check DealsClean PCRecommendedOne scan can reveal what keeps slowing WindowsLook for cleanup and repair opportunities.Run ScanHalloween DealsAmazon USOctober picks are moving - compare before checkoutAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
World desk6 min

How to Capture Full-Page Screenshots of Your App for Testing and Documentation

Use Playwright’s fullPage option to capture an app’s full scrollable page, or use screenshot assertions to check visual changes reliably.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Use Playwright’s fullPage: true option to capture a web app’s entire scrollable page rather than only the visible viewport. It works in a scripted browser workflow and can save an image file or return bytes for further processing. For visual regression tests, use Playwright Test’s toHaveScreenshot() assertion; for a quick command-line capture, use Playwright’s screenshot CLI.

Choose a capture method

Method Best fit What it does
ScreenshotNeo One-call capture without setting up browser automation Returns a screenshot or PDF from a GET request; clean shots are billed, while bot checks, blank pages, timeouts, failed loads and cache hits are not.
Playwright page API Repeatable capture inside an existing browser automation script page.screenshot({ fullPage: true }) captures the full scrollable page.
Playwright Test screenshot assertion Visual regression testing toHaveScreenshot() waits for two consecutive page screenshots to match before comparing or saving the result.
Playwright CLI One-off capture from a terminal The documented screenshot command supports full-page capture and PNG, JPEG or WebP output.
Chrome DevTools Protocol Lower-level browser integration The Page domain exposes a screenshot command and region capture; it is a protocol interface, not a documented DevTools menu workflow.

Playwright defines a full-page screenshot as a capture of the full scrollable page, “as if you had a very tall screen and the page could fit it entirely.” See the Playwright Screenshots guide.

As an Amazon Associate I earn from qualifying purchases.

Capture a full page with Playwright

Start with a browser context that has the app’s required authentication and settings. Navigate to the state you want to document or test, wait for that app-specific state to be ready, then capture.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
import { chromium } from 'playwright';

const browser = await chromium.launch();
const page = await browser.newPage();

await page.goto('http://localhost:3000');
// Replace this with a condition that means your app is ready for capture.
await page.locator('[data-testid="report-ready"]').waitFor();

await page.screenshot({ path: 'full-page.png', fullPage: true });
await browser.close();

Replace the URL and readiness selector with values from your app. If the screenshot is part of a logged-in workflow, create or reuse an authenticated context before navigation. The readiness condition is app-specific: navigation completing does not necessarily mean that client-rendered data, images or animations have settled.

#1 Best Overall
Sale
Epson Workforce ES-50 Compact & Lightweight Mobile Document Scanner | For Computers including PC and Mac Receipt and Document Scanner USB Powered
  • 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

For a buffer rather than a file, omit path and retain the returned bytes:

const imageBytes = await page.screenshot({ fullPage: true });

See the Playwright Page API for screenshot options, including element capture and masking.

Use visual regression assertions

When the goal is to detect unintended visual changes, a screenshot assertion is more useful than merely saving an image. In a Playwright Test, capture a full-page baseline and compare later runs against it:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
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)
import { test, expect } from '@playwright/test';

test('report page remains visually stable', async ({ page }) => {
  await page.goto('http://localhost:3000/reports');
  await page.locator('[data-testid="report-ready"]').waitFor();
  await expect(page).toHaveScreenshot('report-full-page.png', {
    fullPage: true,
  });
});

Playwright’s assertion waits for two consecutive page screenshots to match before comparing or saving the final result. Rendering can still vary with the host operating system, browser version, settings, hardware, power source and headless mode. Keep those conditions consistent between baseline generation and comparison; otherwise, environment changes may appear as visual diffs. See Playwright’s visual comparison and screenshot assertion documentation.

Capture from the command line

For a one-off capture that does not need a custom test script, the Playwright CLI supports full-page screenshots, filename selection, PNG/JPEG/WebP output and a high-resolution option that captures device pixels instead of CSS pixels. Consult the Screenshots & PDF CLI reference for the exact command syntax and available flags for your installed CLI.

Make the screenshot useful

Wait for the right state

Choose a readiness condition that reflects the app, such as a locator appearing after data loads. A fixed delay can be appropriate for a known animation or delayed resource, but it can also waste time or capture too early when load times vary. There is no universal wait condition that guarantees every application is ready.

Rank #3
Sale
Epson Workforce ES-400 II High-Speed Color Duplex Desktop Document Scanner | For Computers including PC and Mac with Auto Document Feeder and Image Adjustment Tools
  • FAST DOCUMENT SCANNING — Document scanner with feeder allows you to speed through stacks with a 50-sheet Auto Document Feeder (ADF); Efficient office scanner to help you scan more productively
  • INTUITIVE, HIGH-SPEED SOFTWARE — Quickly scan with this desktop document scanner; Epson ScanSmart Software lets you easily preview scans, email files, upload to the cloud, and more; Plus, automatic file naming saves even more time
  • SEAMLESS INTEGRATION — Easily incorporate your data into most document management software with the included TWAIN driver; Office document scanner integrates seamlessly with business workflows
  • EASY SHARING — Duplex scanner allows you to scan straight to email or popular cloud storage2 services like Dropbox, Evernote, Google Drive, and OneDrive for simple storage and sharing
  • SIMPLE FILE MANAGEMENT — Scanner allows the creation of searchable PDFs with Optical Character Recognition (OCR) and convert scans to editable Word or Excel files effortlessly; Designed for home and office document scanning

Handle content that loads while scrolling

Full-page capture is intended to include the scrollable page, but long or complex layouts can still warrant inspection. If your app lazy-loads images or sections, verify that those elements appear in the resulting artifact rather than assuming every layout behaves identically.

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

Mask changing or sensitive regions

For screenshots used in assertions, Playwright’s mask option can cover selected locators. Masked areas appear covered in the image, so use it for content that should not affect comparison and ensure the covered material is not needed in the documentation artifact.

Capture only a component when appropriate

If the test concerns a chart, dialog or other component, an element screenshot can be more focused and easier to review than a very tall page image. The Page API documents element screenshots alongside page screenshots.

Rank #4
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

Or skip the browser setup

ScreenshotNeo can capture a URL with one GET request. It accepts cookie or consent banners like a visitor and removes more than 60 known consent platforms, newsletter popups and chat widgets before capture; each of those steps can be turned off. Only clean shots are billed: bot checks or CAPTCHAs, blank pages, timeouts, failed loads and cache hits cost nothing, and the response identifies the outcome in X-Page-Verdict and X-Billed headers.

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

See the ScreenshotNeo API documentation for request options. Its MCP server gives AI agents tools named take_screenshot, get_page_info and capture_pdf. The free plan includes 1,000 screenshots per month with no card; paid plans start at $5 for 3,000. Sign up for free and capture 1,000 screenshots a month with no card.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Troubleshoot common capture problems

The image shows only the viewport

Check that the page screenshot call includes fullPage: true. A default screenshot captures the current viewport, not the entire scrollable page. Also make sure you are using a page screenshot rather than an unrelated viewport-only capture method.

Content is missing or stale

The page may have been captured before the app finished rendering or before a lazy-loaded section appeared. Wait for a meaningful app-specific locator or state, then inspect the artifact. Adjust the workflow for that page rather than relying on one wait strategy for every route.

Best Value
Sale
ScanSnap iX2500 Wireless or USB High-Speed Document Scanner, Black | Cloud Enabled | Photos & Receipts | Large Touchscreen | 100 page Auto Document Feeder | Mac or PC
  • OUR MOST ADVANCED SCANSNAP. Large touchscreen, fast 45ppm double-sided scanning, 100-sheet document feeder, Wi-Fi and USB connectivity, automatic optimizations, and support for cloud services. Upgraded replacement for the discontinued iX1600
  • CUSTOMIZABLE. SHARABLE. Select personalized profiles from the touchscreen. Send to PC, Mac, mobile devices, and clouds. QUICK MENU lets you quickly scan-drag-drop to your favorite computer apps
  • STABLE WIRELESS OR USB CONNECTION. Built-in Wi-Fi 6 for the fastest and most secure scanning. Connect to smart devices or cloud services without a computer. USB-C connection also available
  • PHOTO AND DOCUMENT ORGANIZATION MADE EFFORTLESS. Easily manage, edit, and use scanned data from documents, receipts, photos, and business cards. Automatically optimize, name, and sort files
  • AVOIDS PAPER JAMS AND DAMAGE. Features a brake roller system to feed paper smoothly, a multi-feed sensor that detects pages stuck together, and skew detection to prevent paper damage and data loss

Visual tests fail on a different machine

Compare the browser version, operating system, settings, hardware and headless mode used to generate and check the baseline. Playwright identifies these as factors that can affect rendering; standardize them before treating a diff as an application regression.

The full-page image is unwieldy

Review whether the test needs the whole page. If only one region matters, use an element screenshot; if some dynamic or sensitive content is irrelevant, mask selected locators. These choices reduce noise in the artifact without claiming a universal page-height limit.

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

Costs, reliability and artifact review

Playwright screenshots run within your browser automation workflow, so they do not carry a separate per-shot price in the cited screenshot API documentation; resource use and runtime depend on your own test environment. For visual regression, stability depends partly on controlling rendering conditions. For any method, inspect unusually tall or complex captures before using them as documentation or as a trusted test baseline. The official documentation does not establish a universal maximum page height or guarantee identical output for every application layout.

Frequently Asked Questions

Can I capture a screenshot without saving it to disk?

Yes. Playwright’s page screenshot API returns image bytes when you do not provide a file path; you can pass those bytes to your own processing workflow.

Does a full-page screenshot include content below the fold?

Playwright’s full-page option is designed to capture the full scrollable page, not just the visible viewport.

Can I capture a single element instead of the whole page?

Yes. Playwright’s Page API documents element screenshots, which are useful when the page as a whole is not relevant.

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.

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
PC Slower Than It Used to Be?Free scan - under a minute
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.