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

Use Playwright’s command-line interface when you need the entire scrollable webpage, not just the visible viewport:

playwright-cli open https://example.com
playwright-cli screenshot --full-page --filename=full-page.png

The result is a PNG containing the page content from top to bottom. The capture is of the webpage itself—not the browser window, operating-system desktop, or address bar. This guide explains one-off commands, reusable scripts, alternative CLIs, dynamic-page pitfalls, and a hosted option when you do not want to maintain a browser.

What “full-page” means

A viewport screenshot records only the current browser dimensions. A full-page screenshot expands the capture to the document’s scrollable height, as though the page were displayed on a very tall screen. Playwright exposes this distinction directly with --full-page in its CLI and fullPage: true in its API. Neither option captures browser chrome or the operating-system desktop.

Inspect the output after capture. Lazy-loaded images, sticky headers, pages that continually append content, animations and changing advertisements can make the final image differ from a static viewport. No browser tool can guarantee identical behavior for every site without page-specific preparation.

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

Fastest method: Playwright CLI

Install and open the page

Install Playwright using the package manager and browser setup appropriate to your environment, then start a CLI session:

#1 Best Overall
HP OmniBook 3 17.3 inch Laptop PC, FHD Display, AMD Ryzen 3 30, 8 GB RAM, 512 GB SSD, AMD Radeon 610M Graphics, Windows 11 Home, Mica Silver, 17-dp0199nr
  • FULL HD IPS DISPLAY - Enjoy vibrant, crystal-clear images with 178-degree wide-viewing angles
  • AMD RYZEN 3 30 PROCESSOR - Everyday performance you can count on; Multitask, stream, game casually, and edit photos smoothly with responsive power and vibrant HDR visuals
  • ENJOY UP TO 14 HOURS AND 15 MINUTES OF BATTERY LIFE - HP Fast Charge restores battery from 0 to 50% in approximately 45 minutes
  • AMD RADEON 610M GRAPHICS - Experience smooth entertainment; Built for streaming and multitasking, enjoy realistic visuals and efficient performance for work and play
  • STORAGE AND MEMORY - 512 GB PCIe NVMe M.2 SSD offers fast speed and efficient storage; and 8 GB LPDDR5 RAM memory boosts performance with higher bandwidth
playwright-cli open https://example.com

The CLI is headless by default. The open command establishes the current page that the next command will capture.

Capture the complete document

playwright-cli screenshot --full-page --filename=full-page.png

PNG is the default. The extension can select another supported image format:

playwright-cli screenshot --full-page --filename=full-page.jpeg
playwright-cli screenshot --full-page --filename=full-page.webp

If you omit --filename, the CLI chooses its own output behavior; a predictable filename is preferable in scripts and CI jobs. Playwright also supports --type when you need to specify the format explicitly.

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.

Choose device-pixel resolution

Add --hires to capture device pixels rather than CSS pixels:

playwright-cli screenshot --full-page --hires --filename=full-page.png

High-resolution output is useful for documentation or print workflows, but coordinates in the resulting image no longer correspond directly to CSS-pixel coordinates used by mouse commands. Omit it when you will calculate click positions from the screenshot.

Reusable JavaScript with Playwright

For scheduled captures, test fixtures or a larger automation job, use the Playwright API. Install the package and browsers, save this as capture.js, and run it with Node.js:

Rank #2
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.
  • 14" HD Display: 14.0-inch diagonal, HD (1366 x 768), micro-edge, anti-glare. See your digital world in a whole new way. Enjoy movies and photos with the great image quality and high-definition detail of 1 million pixels.
  • Memory & Storage: 4 GB LPDDR4x & 64 GB eMMC Storage. Adequate high-bandwidth RAM to smoothly run multiple applications and browser tabs all at once. An embedded multimedia card provides reliable flash-based storage.
  • Ports:2 x USB 3.0 Type-A,1 x USB 3.0 Type-C,1 x HDMI,1 x Headphone Jack
  • Chrome OS: Chromebook is a computer for the way the modern world works, with thousands of apps. Enjoy the seamless simplicity that comes with Google Chrome and Android apps, all integrated into one laptop. It’s fast, simple, and secure.
const { chromium } = require('playwright');

(async () => {
  const browser = await chromium.launch();
  const page = await browser.newPage();
  await page.goto('https://example.com');
  await page.screenshot({ path: 'full-page.png', fullPage: true });
  await browser.close();
})();

The fullPage: true option captures the full scrollable page. Set a viewport when consistent layout matters:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
const page = await browser.newPage({ viewport: { width: 1440, height: 900 } });

Playwright’s screenshot API also supports output paths, image type and scale options. CSS-pixel scale produces a smaller, layout-oriented image; device-pixel scale preserves more physical pixels. Consult the Playwright screenshots guide and Page API reference for the options available in your installed release.

Prepare pages that load content on demand

Navigate, wait for a meaningful condition, then capture. For example:

await page.goto('https://example.com', { waitUntil: 'networkidle' });
await page.waitForSelector('main');
await page.screenshot({ path: 'full-page.png', fullPage: true });

Use a selector that really indicates readiness on your site. A fixed delay can help with an animation or delayed widget, but it is less reliable than waiting for a specific element. Full-page capture does not universally force every lazy-loaded resource to load, so verify long pages and adjust page preparation where necessary.

Python API example

Python users can run the equivalent synchronous API:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
from playwright.sync_api import sync_playwright

with sync_playwright() as p:
    browser = p.chromium.launch()
    page = browser.new_page(viewport={"width": 1440, "height": 900})
    page.goto("https://example.com", wait_until="networkidle")
    page.screenshot(path="full-page.png", full_page=True)
    browser.close()

The API spelling is full_page=True in Python and fullPage: true in JavaScript.

Rank #3
Sale
AKCHART 15.6'' AI Laptop with Office 365 12GB RAM 256GB SSD Win 11 Laptops
  • Stunning 15.6" FHD IPS Display: Experience crisp 1920x1080 resolution on this 15.6 inch laptop with an IPS panel that delivers wide viewing angles and vivid colors. The narrow-bezel design maximizes screen real estate for comfortable viewing on this Win 11 laptop, whether you're studying or working.
  • Celeron J4105 Processor & 256GB SSD: Powered by a reliable Celeron J4105 processor paired with 12GB DDR4 memory and a fast 256GB M.2 SSD. This laptop computer supports SSD expansion up to 2TB and TF card expansion up to 1TB, so your storage grows with your needs. Delivers smooth multitasking for daily productivity.
  • AI-Powered Win 11 Laptop: Built-in AI features enhance your productivity with smart assistance for writing, summarizing, and task management. Pre-installed with Win 11 and includes Office 365 subscription. This student laptop is backed by 1-year warranty and 24/7 customer support.
  • All-Day 7000mAh Battery & 180° Hinge: The high-capacity 7000mAh battery keeps this laptop powered through long classes or meetings. The 180-degree lay-flat hinge lets you share your screen effortlessly during presentations. This durable laptop computer adapts to your dynamic workflow.
  • Versatile Connectivity Hub: Equipped with USB 3.2, Type-C, Mini HDMI, and 3.5mm audio jack to connect all your peripherals. Stay online anywhere with high-speed 5G WiFi and Bluetooth 4.2. This college laptop keeps you connected at home, in the library, or on the go.

Other command-line approaches

shot-scraper 0.14.3

The 0.14.3 manual documents this installation and browser setup:

pip install shot-scraper
shot-scraper install

Capture a page with:

shot-scraper https://example.com -o full-page.png

In this version, the default browser dimensions are 1280 pixels wide by 780 pixels high. If you omit --height, the output is full-page length; set --width and --height when a fixed layout is required:

shot-scraper https://example.com --width 1440 --height 900 -o full-page.png

If you omit an output name, shot-scraper derives one from the URL and adds a numeric suffix when that file already exists. Its manual also describes GitHub Actions use, which can fit repository-based screenshot jobs. Because these details are tied to version 0.14.3, check the current manual if a later release changes a flag: shot-scraper 0.14.3 documentation.

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

Chrome Headless

Chrome’s documented command-line screenshot example is:

chrome --headless --screenshot --window-size=412,892 https://example.com

This sets a finite window and should be treated as a viewport capture—not as a verified full-scrollable-page command. The Chrome reference also documents --timeout to bound waiting, --virtual-time-budget to advance time-dependent page code, and --print-to-pdf when the required output is a PDF. The reference was updated 2024-10-21 UTC; exact flags can vary with the Chrome version installed on your system. See the Chrome Headless command-line reference.

Image versus PDF output

A PNG, JPEG or WebP is a raster screenshot. A PDF is a separate document export with different pagination and print behavior. Playwright CLI has a separate PDF command, and Chrome uses --print-to-pdf. Do not substitute a PDF when a single long image is required: page breaks, margins and print CSS can change the result.

Rank #4
HP Essential Laptop 2026, Intel CPU, 128GB Storage, Office 365, Windows 11
  • Efficient Performance for Everyday Computing: Powered by Intel N150 processor with up to 3.6 GHz Intel Turbo Boost Technology, 6 MB L3 cache, 4 cores, and 4 threads, this HP laptop delivers responsive performance for web browsing, streaming, document editing, and multitasking. Paired with 4GB LPDDR5 RAM and 128GB UFS storage, it handles daily tasks smoothly. Includes 1-year Microsoft 365 Personal subscription for Word, Excel, PowerPoint, and cloud storage to maximize your productivity.
  • 14-Inch HD Micro-Edge Display:Enjoy clear visuals on the 14-inch HD (1366 x 768) anti-glare screen with 250-nit brightness and 62.5% sRGB coverage. The micro-edge bezel delivers a 79% screen-to-body ratio in a compact design. An HP True Vision 720p HD camera with noise reduction and dual-array microphones supports clear video calls, remote work, and online learning.
  • Modern Connectivity and Wireless Technology: Stay connected with Wi-Fi 6 (2x2) for faster wireless speeds and Bluetooth 5.4 for seamless pairing with accessories. Versatile port selection includes 1 USB Type-C 10Gbps with DisplayPort 1.2 for external displays, 2 USB Type-A 5Gbps ports for peripherals, 1 HDMI 1.4b port, 1 headphone/microphone combo jack, and 1 multi-format SD media card reader. Connect monitors, transfer files quickly, and expand your workspace with ease.
  • All-Day Battery Life and Portable Design: Enjoy up to 11 hours of video playback, 7.5 hours of mixed usage, or 7.5 hours of wireless streaming on a single charge, perfect for students and professionals on the go. Weighing just 3.24 lb and measuring 12.76" x 8.86" x 0.71", this lightweight laptop fits easily in backpacks and bags. The stylish willow green top cover with matte finish and natural silver keyboard deck with vertical brushing pattern offer a modern, professional look.
  • AI-Enhanced Productivity: Access Microsoft Copilot instantly with the dedicated Copilot key for faster assistance. AI Noise Reduction filters background sounds and improves voice clarity during calls. Dual speakers provide clear audio, while the full-size natural silver keyboard and HP Imagepad support comfortable typing and navigation.

Reliable capture checklist

  • Set the viewport width explicitly when comparing runs.
  • Wait for a page-specific readiness selector or network state.
  • Dismiss consent dialogs and overlays that cover content, or hide them before capture.
  • Check whether lazy images appear below the fold in the saved file.
  • Disable or freeze animations when visual consistency matters.
  • Use deterministic filenames and preserve exit codes in CI.
  • Review very long pages for memory use and unexpected continuous scrolling.

Troubleshooting

The command says Playwright or a browser is missing

Install the Playwright package and its managed browsers for your language, then rerun the browser-install step. In containers, verify that required system libraries are present. A package installation alone does not always install executable browser binaries.

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

The file contains only the visible screen

For Playwright CLI, confirm that --full-page is present and that you are capturing the page opened in the current CLI session. In API code, use fullPage: true or full_page=True. Chrome’s window-size example is not equivalent.

Images or sections are blank

The site may load them only after scrolling, after a delay, or after an interaction. Wait for a selector, trigger the required interaction in code, or use a site-specific preparation routine. Inspect network and console errors; a failed resource cannot be repaired by the screenshot flag.

A cookie banner, chat box or sticky header covers content

Accept or close the banner before capture, remove the overlay with page code, or hide matching selectors. Sticky elements may repeat as the document is stitched; compare captures at several page lengths.

The page never finishes

Pages with analytics streams or long polling may never reach network idle. Wait for a concrete content selector instead, use a bounded timeout, and capture once the required content exists.

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

Output is too large or slow

Reduce the viewport width or choose CSS-pixel scale when physical-pixel detail is unnecessary. Avoid unnecessarily huge device-pixel captures, and split an operational workflow into smaller jobs if a target page grows without bound. There is no universal page-height limit established by the cited documentation, so test the pages that matter to your workload.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Performance, repeatability and operating cost

Launching a fresh browser for every URL is simple but adds startup time. Reuse a browser process for batches while creating isolated pages, and close pages after each capture. Keep navigation and readiness timeouts finite so a broken site cannot stall a job indefinitely. Cache or deduplicate URLs in your own pipeline when repeated captures are unnecessary. The command-line tools themselves do not establish a universal throughput or memory benchmark; measure your page mix, viewport and image scale.

Best Value
Sale
HP 14‘’ Laptop, 2027 Edition, Intel N150 CPU, 4GB RAM, 128GB SSD, Copilot AI, 1TB Cloud Storage, Win 11 with Microsoft 365
  • Designed for mobility with a slim 0.71-inch profile and lightweight, making it easy to carry between home, office
  • 【Versatile Connectivity】Stay connected with multiple ports including USB 3.0 Type-C, USB 3.0 Type-A, HDMI, and a headphone/mic combo jack, with Wi-Fi and Bluetooth for seamless wireless networking.

Self-hosted Playwright, Chrome and shot-scraper have software and infrastructure costs determined by your environment. Authentication, private pages, proxy requirements and consent flows also require your own configuration and security controls. Never place long-lived credentials in shell history or committed scripts.

Or skip the browser setup

ScreenshotNeo is a website screenshot API and MCP server. One GET request returns a PNG, JPEG, WebP or PDF, with full-page capture and controls for viewport, device presets, retina scale, lazy images, selectors, waits, custom CSS or JavaScript, clicks, hidden selectors, request blocking, headers, cookies, user agents, authorization, timezone, geolocation, transparent backgrounds, resizing, caching, signed links, asynchronous jobs, webhooks and bulk capture of up to 100 URLs per call. Its MCP tools—take_screenshot, get_page_info and capture_pdf—work with Claude, Cursor and other MCP clients.

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

Before capture, ScreenshotNeo accepts cookie or consent banners like a visitor and removes more than 60 known consent platforms, newsletter popups and chat widgets; each step can be disabled. Bot checks or CAPTCHAs, blank pages, timeouts, failed loads and cache hits are not billed, and response headers report the page verdict and billing status.

See the ScreenshotNeo documentation. A direct cURL request is:

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

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 screenshots per month with no card. Paid plans start at $5 for 3,000 shots; yearly billing provides two months free, and every feature is included on every plan. Sign up free.

Frequently Asked Questions

Can I capture a page that requires login?

Yes, but you must supply the session or authentication details through your automation code or an authorized API configuration, and protect those credentials. Public-page examples do not authenticate automatically.

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

Does full-page capture include content below a cookie wall?

Only if the page is prepared so that content is available. Dismiss or accept the consent interface, wait for the content to render, and inspect the resulting image.

Should I choose PNG, JPEG or WebP?

Use PNG for lossless text and UI details, JPEG for smaller photographic files, and WebP when your downstream tools support its size and quality advantages.

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.