Driver FixRecommendedSound, Wi-Fi or graphics acting up? Check drivers firstFind missing or outdated drivers fast.Check DriversOctober DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsSlow PC?RecommendedPC slow today? Run a repair scan before it gets worseResolve common Windows issues and optimize system performance.Scan Now×
Skip to content
browser automation

Full-Page Screenshot Rendering: Playwright, Puppeteer, CDP and Browser Tools

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

A full-page screenshot captures the entire scrollable document, not just the pixels currently visible in the viewport. In Playwright, the essential call is await page.screenshot({ path: 'page.png', fullPage: true }). The same result can be produced with Puppeteer, Chrome DevTools Protocol, or Firefox Developer Tools. The right choice depends on browser coverage, how much control you need, whether the capture must run repeatedly in CI, and how dynamic the page is.

What “full-page” means

A viewport screenshot records only the current browser window. A full-page capture extends through the document’s scrollable height, including content below the fold. Playwright distinguishes viewport, a selected element, and the “full scrollable page”; its Page API enables the latter with fullPage: true.

Full-page rendering is not the same as stitching screenshots yourself. The browser lays out the page at a chosen viewport and device scale, then renders the complete document into one image. Very tall pages can produce large files. Sticky navigation, fixed chat buttons, animations, lazy images and cookie notices may appear in unexpected ways, so record the browser, viewport, scale, format and wait conditions used for each capture.

Playwright: the most flexible high-level option

Playwright drives Chromium, Firefox and WebKit through one API, making it the broadest cross-browser choice in the documented options. Install it in a Node.js project, install the browser binaries, navigate to the page, wait for meaningful content, and request a full-page image.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
npm install -D playwright
npx playwright install

Runnable Node.js example

const { chromium } = require('playwright');

(async () => {
  const browser = await chromium.launch();
  const page = await browser.newPage({
    viewport: { width: 1440, height: 900 },
    deviceScaleFactor: 1
  });

  await page.goto('https://example.com', { waitUntil: 'networkidle' });
  await page.screenshot({
    path: 'page.png',
    fullPage: true,
    type: 'png',
    scale: 'css'
  });

  await browser.close();
})();

The screenshot API also supports a filename, PNG, JPEG or WebP output, and a scale choice between CSS pixels and device pixels. Use CSS-pixel scale for predictable dimensions; device-pixel scale is useful when you need a higher-density image. If the page keeps polling or streaming, networkidle may never represent a useful “done” state. In that case, wait for a specific selector or use a short, deliberate delay after the page’s main content appears.

#1 Best Overall
Capture Card, 4K HDMI Video Capture Card, Game Capture Card, 1080P 60FPS Video Capture Device, HDMI to USB 3.0 Capture Card for Streaming, Work with Camera/Xbox/PS4/PS5/PC/OBS
  • 【1080P HD High Quality】Capture resolution up to 1080p for video source and it is ideal for all HDMI devices such as PS4, PS3, Xbox One, Xbox 360, Wii U, DVDs, DSLR, Camera, Security Camera and set top box. Note: Video input supports 4K30/60Hz and 1080p120/144Hz. Does not support 4K120Hz/144Hz. Output supports up to 2K30Hz.
  • 【Plug and Play】No driver or external power supply required, true PnP. Once plugged in, the device is identified automatically as a webcam. Detect input and adjust output automatically. Won't occupy CPU, optional audio capture. No freeze with correct setting.
  • 【Compatible with Multiple Systems】suitable for Windows and Mac OS. High speed USB 3.0 technology and superior low latency technology makes it easier for you to transmit live streaming to Twitch, Youtube, Facebook, Twitter, OBS, Potplayer and VLC.
  • 【HDMI LOOP-OUT】Based on the high-speed USB 3.0 technology, it can capture one single channel HD HDMI video signal. There is no delay when you are playing game live.
  • 【Support Mic-in for Commentary】Rybozen capture card has microphone input and you can use it to add external commentary when playing a game. Please note: it only accepts 3.5mm TRS standard microphone headset.

Stabilise dynamic pages

  • Dismiss or remove consent dialogs before the screenshot if they obscure content.
  • Wait for a meaningful selector such as main, a product grid, or a report table.
  • Disable animations with injected CSS when visual consistency matters.
  • Scroll progressively when you need to trigger lazy loading, then wait for images and fonts.
  • Set a fixed viewport, device scale and color scheme so later captures are comparable.
await page.goto('https://example.com', { waitUntil: 'domcontentloaded' });
await page.locator('main').waitFor();
await page.addStyleTag({ content: `
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    caret-color: transparent !important;
  }
` });
await page.screenshot({ path: 'stable.webp', fullPage: true, type: 'webp' });

Use locator.screenshot() when you need one component rather than the entire document. Full-page mode is for the document; an element capture is usually better for a card, chart or component test.

Puppeteer: a strong JavaScript and Chrome workflow

Puppeteer is a high-level automation API for Chrome and Firefox using the Chrome DevTools Protocol and WebDriver BiDi. It is a practical choice when your existing JavaScript automation already uses Puppeteer or when Chromium behavior is your primary target.

npm install puppeteer
const puppeteer = require('puppeteer');

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

As with Playwright, navigation completion does not guarantee that application data, web fonts or lazy images are ready. Add an application-specific selector wait or a controlled delay. Puppeteer’s screenshot method is convenient, while Playwright is generally the better fit when the same test must cover Chromium, Firefox and WebKit.

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

Chrome DevTools Protocol: direct Chromium control

The low-level CDP method is Page.captureScreenshot. It accepts a format, quality and optional clip rectangle. This is useful for a service that already owns a DevTools Protocol connection and needs protocol-level control, but it requires more lifecycle and layout code than either high-level library.

Rank #2
Guermok Video Capture Card, 4K USB3.0 HDMI to USB C, 1080P 60FPS & 2K 30FPS
  • 【1080P 60FPS Video Capture Card】 This HDMI game capture card is based on USB3.0 high speed transmission port, input resolution up to 4K@30HZ, output resolution up to 2K@30Hz or 1920×1080@60Hz. Type c and USB interface can meet most of the devices in daily life. Easily meet the online capture, real-time recording, online meetings, live gaming and other functions, so you have a better visual enjoyment. Note: For capture use only; requires capture software to function and is not intended for direct screen casting to a monitor or TV
  • 【Ultra Low Latency Screen Sharing】 HDMI capture card is made of good quality aluminum alloy with strong heat dissipation, allowing you to enjoy ultra low latency while live gaming or video recording or live streaming, avoiding blue screens and lag. This HDMI to USBC capture card supports easy recording of good quality audio or HD video and transferring it to your computer or streaming platform, allowing you to record 60 fps HD video directly on your hard drive and real-time preview
  • 【Plug and Play, Easy to Carry】 This HDMI 1080P video capture card does not require any additional drivers or external power supply, just plug and play for fast capture. The capture card is small and lightweight, so you can put it in your bag for emergencies, making it very portable for outdoor live streaming. It's also a great way to share content in game recording, video conference, video recorder and online teaching
  • 【Wide Compatibility USB Capture Card】 Easily streams to Facebook, Youtube or Twitch. With the connection, this HDMI to USB C/3.0 video capture devices can be working on several Operating Systems and various software: Windows 7/ 8/ 10, Mac OS or above, Linux, Android, Laptop, Xbox One, PS3/PS4/PS5, Camera, DVDs, Set Top Box, Webcame, DSLR, Switch/Switch 2, TV BOX, HDTV, Potplayer/VLC, ZOOM, OBS Studio etc.
  • 【Package Content & Note】 1x HD Audio Capture Card , 1x USB 3.0 to USB C Adapter (A-side 3.0, B-side 2.0), 1x user manual. Please note that you need to restart the OBS Studio software after the audio setup is complete, otherwise it will result in no sound output. When using an adapter, if the device is recognized as USB 2.0, try using the other side with the USB-C port. Simply flip the capture card and reconnect it to be recognized as USB 3.0
// After connecting to a CDP Page session:
const result = await client.send('Page.captureScreenshot', {
  format: 'png'
});
require('fs').writeFileSync('page.png', Buffer.from(result.data, 'base64'));

For a full document, first ensure the page’s layout metrics and content are ready. A clip captures only the rectangle supplied; omitting it asks Chrome for the page screenshot under the current protocol conditions. CDP is Chromium-oriented, so it is not a cross-browser abstraction.

Firefox Developer Tools: manual, one-off captures

Firefox Developer Tools can capture the entire page or a single element without writing automation code. Open Developer Tools, use the screenshot command, and choose the full-page option. Firefox appends -fullpage to the full-page filename. This is convenient for a quick inspection or bug report, but it is manual and less repeatable than a scripted Playwright or Puppeteer job.

Which method should you choose?

Tool Browser coverage Abstraction Best fit Controls
Playwright Chromium, Firefox, WebKit High-level Cross-browser tests and CI Full page, element, format, scale, waits
Puppeteer Chrome and Firefox workflows High-level JavaScript automation centered on Chrome Full-page screenshot, viewport and navigation waits
Chrome DevTools Protocol Chromium Low-level protocol Services needing direct Chrome control Format, quality and optional clip
Firefox Developer Tools Firefox Manual UI One-off captures Full page or selected element

These are capability distinctions, not speed or reliability benchmarks. No universal maximum page height, capture time or failure rate is established by the documented material, so test your own pages and CI environment.

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

Reliable full-page rendering in CI

  1. Pin the environment. Keep the browser version, viewport, device scale, fonts and color scheme consistent.
  2. Navigate deliberately. Use a navigation timeout and wait for the selector that proves the page is usable.
  3. Resolve overlays. Close consent banners, newsletters and chat panels, or hide their selectors for visual tests.
  4. Load lazy content. Scroll or trigger the application’s own loading mechanism before capturing.
  5. Freeze motion. Disable CSS transitions and animations when comparing images.
  6. Select an output format. PNG preserves lossless detail; JPEG is smaller for photographic pages; WebP can reduce size when your pipeline supports it.
  7. Record provenance. Store the URL, browser, viewport, scale, format and wait strategy beside the image.

Fixed and sticky elements may repeat or remain visible as the renderer lays out a tall page. That is a property of the target CSS and browser behavior, not a universal defect in the screenshot API. If a header must appear only once, test a capture-specific style or hide it during the capture.

Common failures and fixes

The image stops above the bottom

The page may still be loading lazy sections, or the renderer captured before the application populated its content. Wait for a content selector, scroll to trigger lazy loading, and then capture.

Rank #3
Sale
Elgato 4K S Capture Card for PS5, Xbox Series X/S, Switch 2
  • 4K60 Capture: Record in cinematic quality with crisp detail and vivid colors
  • HFR Support: Play and capture in 1440p120 or 1080p240
  • HDR10 Support: Capture brilliant HDR content with tone mapping on Windows
  • Cross-Platform Compatible: Works with PS5, Xbox Series X/S, Switch 2, and more
  • Analog Audio In: Capture in-game chat or commentary with 3.5mm input

A cookie banner covers the page

Dismiss it through the page’s UI or add a capture-only rule that hides the known banner. Do not assume a navigation wait removes overlays.

Fonts or images are missing

Wait for the relevant network requests or DOM state, verify that the test environment can reach the asset host, and avoid terminating the browser immediately after the screenshot call.

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

The script hangs at network idle

Analytics, WebSockets and polling can keep connections open indefinitely. Replace network-idle waiting with a specific selector plus a bounded timeout.

The file is too large

Use JPEG or WebP where lossless PNG is unnecessary, choose CSS-pixel scale, capture a target element instead of the whole document, or split a very long report into intentional sections.

CI differs from a developer laptop

Install the same browser and fonts, set an explicit viewport and device scale, and disable animations. Differences in system fonts and device-pixel ratio commonly change line wrapping and therefore page height.

Rank #4
Capture Card 4K HDMI Video Streaming to USB 3.0 1080P 60FPS Capture Device
  • High-Quality Video Capture, 4K HDMI Capture Card Ready: Capture smooth and vibrant video with this 4K HDMI capture card, engineered for gamers and content creators who demand crisp 1080P 60FPS video quality. Whether you're streaming to Twitch or recording gameplay for YouTube, your footage will look professional and detailed
  • Plug-and-Play USB Capture Card, No Drivers Needed: Designed as a USB capture card for streaming, this device works instantly out of the box, just plug into your PC or laptop and start capturing. Fully compatible with popular software like OBS Studio, Streamlabs, and XSplit, making setup quick and stress-free for beginners and pros alike
  • Universal Compatibility PS5, Xbox, Switch & More: Stream or record gameplay from virtually any HDMI-enabled device including Nintendo Switch, PS5, Xbox Series X, DSLR cameras, and PCs. The video capture card for gaming supports seamless passthrough so you can play without lag while your audience watches every frame in real time
  • Low-Latency Performance for Smooth Streaming: This capture card for streaming minimizes delay between gameplay and broadcast, so you get reliable, low-latency capture that works well for competitive gaming, live broadcasts, and podcast sessions. Suitable for those building their channel with high-quality, engaging content
  • Compact & Portable Design for Content Creators: Lightweight and portable, this USB 3.0 capture card works well for creators who travel or switch gaming setups often. Throw it in your bag and stream or record wherever you are, at home, events, LAN parties, streaming or studio sessions
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Or skip the browser setup

ScreenshotNeo provides a website screenshot API and MCP server. A single GET request returns PNG, JPEG, WebP or PDF. It accepts cookie and consent banners as a visitor and removes more than 60 known consent platforms, newsletter popups and chat widgets before capture; each cleanup step can be disabled. Bot checks or CAPTCHAs, blank pages, timeouts, failed loads and cache hits cost nothing, and response headers report the page verdict and whether the request was billed.

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

It also supports full-page captures with lazy images loaded, CSS-selector element captures, dark mode, device presets or custom viewports, retina scale, PDF paper and page controls, custom CSS and JavaScript, clicks, selector or network-idle waits, blocked requests and resource types, headers, cookies, user agents, Authorization, timezone, geolocation, transparent backgrounds, resizing, selectable cache TTLs, signed image links, asynchronous webhooks, bulk capture for up to 100 URLs per call, a usage API and an OpenAPI specification. Parameter names used by other screenshot APIs also work for easier migration. Its MCP server exposes take_screenshot, get_page_info and capture_pdf to Claude, Cursor and other MCP clients.

Example using the documented endpoint:

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

See the ScreenshotNeo documentation for all options. Python:

import requests
r = requests.get("https://api.screenshotneo.com/v1/shot", params={"access_key": "YOUR_API_KEY", "url": "https://stripe.com"}, timeout=90)
open("shot.webp", "wb").write(r.content)

Node.js:

const q = new URLSearchParams({ access_key: 'YOUR_API_KEY', url: 'https://stripe.com' });
const res = await fetch(`https://api.screenshotneo.com/v1/shot?${q}`);

The Free plan includes 1,000 shots per month with no card. Paid plans start at $5 for 3,000 shots; yearly billing gives two months free, and every feature is available on every plan. Create a free ScreenshotNeo account.

FAQ

Does full-page mode include content hidden behind a collapsed control?

No. It renders the document as laid out. Expand accordions, tabs or menus in your script if their content must appear.

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.

Can I use a full-page image for visual regression tests?

Yes, but control fonts, viewport, browser version, animation and data state first; otherwise legitimate layout changes become noisy diffs.

When is an element screenshot preferable?

Use one when the reader needs a component, chart or panel rather than an entire document. It produces a smaller, more focused artifact.

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.

Read next

Recommended PC Tool
Recommended PC Tool
PC Slower Than It Used to Be?Free scan - under a minute
Crashes, No Sound, or Screen Glitches?Free driver scan

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.