October DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsClean PCRecommendedOne scan can reveal what keeps slowing WindowsLook for cleanup and repair opportunities.Run ScanOctober DealsAmazon USDeal season is back - check today's better picksAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
World desk6 min

How to Turn HTML Into Screenshots and PDFs for Website Design Reviews

A practical guide to capturing HTML pages for design reviews with Chrome Headless and Playwright, including viewport and full-page screenshots, print or screen PDFs, and capture troubleshooting.

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.

For a quick capture of a page available at a URL, use Chrome Headless; for repeatable design reviews, use browser automation such as Playwright. Choose a viewport screenshot to check a specific screen size, a full-page screenshot to review the scrollable layout, or a PDF when page breaks and print styling matter. The key to a useful review is making the viewport, page-ready state, and PDF media settings explicit.

Choose the right review artifact

Review need Use Reason
Check a particular screen layout Viewport screenshot It records the visible page at a chosen viewport size.
Review the entire scrollable composition Full-page screenshot Playwright can capture the full scrollable page, rather than only the visible viewport. Playwright Screenshots & PDF
Discuss one component or region Element screenshot A targeted capture keeps review attention on a particular design area. Playwright Page API
Inspect printed pagination PDF using print media Playwright and Puppeteer generate PDFs using print CSS by default. Playwright Page API · Puppeteer Page.pdf()
Keep screen colors and layout in a PDF PDF after emulating screen media Both Playwright and Puppeteer document emulating screen media before PDF generation. Playwright Page API · Puppeteer Page.pdf()

A screenshot is a rendering of a browser viewport or page; a PDF is paginated according to print or screen styles and PDF page settings. They are not interchangeable review artifacts.

As an Amazon Associate I earn from qualifying purchases.

Make a quick screenshot or PDF with Chrome Headless

If the HTML page is reachable at a URL and you need a one-off artifact, Chrome’s command-line options avoid writing a browser automation script. Run these commands in a shell with Chrome available on your PATH:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
chrome --headless --screenshot --window-size=1440,1000 https://example.com/

Chrome saves the screenshot as screenshot.png in the current working directory. The window size makes the capture viewport explicit. To save a PDF instead:

#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
chrome --headless --print-to-pdf https://example.com/

The PDF is saved as output.pdf. To omit the browser-added date/time, URL, and page number, add --no-pdf-header-footer. Chrome documents --timeout as a maximum wait before capture, including while a page is still loading; --virtual-time-budget can advance time-dependent JavaScript. These options do not guarantee that application-specific content is ready. See the Chrome Headless command-line reference for command-line behavior.

When a fixed delay is not enough

A page may render its main structure before an application finishes loading data, images, or other dynamic content. A timeout only limits how long Chrome waits; it does not know what your application considers ready. If review consistency matters, use automation and wait for a known page-ready condition before capture.

Use Playwright for repeatable screenshots

Playwright is a better fit when you need to reproduce browser setup, set a viewport, save a named file, or capture the complete scrollable page. Install Playwright in your project using its official installation guide, then use this JavaScript pattern in a script that has launched a browser and created a page:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
await page.setViewportSize({ width: 1440, height: 1000 });
await page.goto('https://example.com/');
// Replace this with the application's known ready condition when needed.
await page.screenshot({ path: 'review.png', fullPage: true });

The example assumes page is an existing Playwright page. For a viewport-only image, remove fullPage: true. To capture one element, use the element’s locator and its screenshot method:

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)
await page.locator('.pricing-card').screenshot({ path: 'pricing-card.png' });

Replace .pricing-card with a selector present on the page. Playwright’s screenshot documentation distinguishes viewport and full-page capture and describes target screenshots. If you use its high-resolution capture option, note that the resulting pixel coordinates use device pixels; they no longer match the CSS-pixel coordinates used by mouse commands. Playwright Screenshots & PDF

Export a design-review PDF with the intended media styles

PDF output is a separate design decision from a screenshot. Playwright’s page.pdf() and Puppeteer’s page.pdf() use print CSS by default. Use print media when the output should behave like a paginated document; use screen media when the PDF should preserve screen styling.

Playwright: screen-styled PDF

await page.emulateMedia({ media: 'screen' });
await page.pdf({ path: 'review.pdf', format: 'A4', printBackground: true });

This requests A4 paper and background graphics while rendering with screen media. For a print-styled PDF, omit the screen emulation and provide appropriate @media print styles in the page.

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

Set page size, margins, and color deliberately

Playwright’s PDF options include format, margins, printBackground, and preferCSSPageSize. Set margins if the review requires a specific printable area. Set preferCSSPageSize: true when CSS @page dimensions should take priority over the configured paper format. PDF colors are modified for printing by default; Playwright points to -webkit-print-color-adjust when exact colors are needed. Check the generated PDF because pagination and color treatment can differ from the on-screen page. Playwright Page API

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

Puppeteer follows the same print-versus-screen distinction

Puppeteer’s PDF method also uses print CSS by default. Emulate screen media before calling page.pdf() if the review requires screen styling. Its documentation describes that behavior and the media emulation option. Puppeteer Page.pdf()

Or skip the browser setup

For a URL-based capture without setting up Chrome or Playwright, ScreenshotNeo provides a screenshot API and MCP server for developers. One GET request returns an image or PDF; the following cURL example saves a WebP screenshot. Create an API key and see the ScreenshotNeo documentation for request options.

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

ScreenshotNeo can accept cookie or consent banners and remove more than 60 known consent platforms, newsletter popups, and chat widgets before capture; each step can be turned off. Bot checks and CAPTCHAs, blank pages, timeouts, failed loads, and cache hits are not billed, and responses identify the page verdict and billing status in headers. Its MCP server offers take_screenshot, get_page_info, and capture_pdf 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 to try 1,000 screenshots a month with no card.

Make design-review captures reproducible

  • Record the URL or HTML build, browser or tool version, viewport width and height, and capture date.
  • Decide whether reviewers need the visible viewport, the full page, or a particular element.
  • Wait for the relevant application-ready condition; do not treat a timeout as proof that the page is complete.
  • For PDFs, specify print or screen media, page format, margins, background graphics, and whether CSS page size takes priority.
  • Open the saved files and inspect fonts, images, colors, pagination, and the intended page state before sharing.

These checks help reviewers distinguish a design change from a different viewport, page state, or PDF rendering choice.

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
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Troubleshoot common capture problems

The screenshot shows a partially loaded page

A fixed Chrome timeout may expire while the page is still loading, and it does not wait for your application’s own readiness logic. For a repeatable capture, automate navigation and wait for a known application condition before taking the screenshot.

The screenshot is cropped or has the wrong dimensions

Set the viewport explicitly. Chrome accepts --window-size=width,height; Playwright uses page.setViewportSize(). If reviewers need content below the fold, use Playwright’s fullPage: true option rather than assuming a viewport capture includes it.

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.

The PDF looks different from the website

Check whether the output uses print or screen media. Print styles are the default for Playwright and Puppeteer PDFs. If the review needs screen styling, emulate screen media first. Also inspect page format, margins, background graphics, CSS @page sizing, and print color adjustment.

The PDF includes a browser header or footer

For Chrome Headless, add --no-pdf-header-footer to suppress the date/time, URL, and page number.

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

High-resolution coordinates do not line up with mouse actions

Playwright’s high-resolution capture uses device pixels, while mouse commands use CSS-pixel coordinates. Account for that difference when mapping screenshot positions back to browser interactions. Playwright Screenshots & PDF

Choose between a screenshot and an accessibility snapshot

Use a visual screenshot to verify layout or document a visual bug. Playwright’s guidance distinguishes that task from examining an accessibility snapshot, which represents page structure and text more directly. A screenshot shows appearance, not the semantic structure needed for every accessibility review. Playwright Screenshots & PDF

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

Frequently Asked Questions

Can I capture HTML that is not hosted at a public URL?

The Chrome and Playwright examples here navigate to a URL. For local HTML, serve it locally and capture its local URL, or adapt your automation to load the file.

Should I use a screenshot or PDF to review responsive design?

Use viewport screenshots at the specific viewport sizes under review. A PDF is more appropriate when reviewers need a paginated document or screen-styled PDF artifact.

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.

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.