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.

Some links on this page are affiliate links: if you buy through them we may earn a commission, at no extra cost to you.

Use Playwright’s page.screenshot() to render a page into a PNG, JPEG, or WebP. Add path to save the image, fullPage: true to include the entire scrollable document, or call locator.screenshot() when you need one element. The same method can return a Buffer for image processing or visual comparisons.

Set up a basic page screenshot

Install Playwright, launch a browser, navigate to the target URL, capture the page, and close the browser. The format is inferred from the output filename extension.

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: 'screenshot.png' });
  await browser.close();
})();

The Page API also supports Firefox and WebKit. If you omit path, Playwright returns the screenshot bytes instead of writing a file.

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

Capture the full page

A normal screenshot covers the current viewport. Set fullPage: true to render the complete scrollable page, including content below the fold.

#1 Best Overall
Sale
Philips 24 Inch Computer Monitor FHD 100Hz VA VESA Flicker-Free, 241V8LB
  • CRISP CLARITY: This 23.8″ Philips V line monitor delivers crisp Full HD 1920x1080 visuals. Enjoy movies, shows and videos with remarkable detail
  • INCREDIBLE CONTRAST: The VA panel produces brighter whites and deeper blacks. You get true-to-life images and more gradients with 16.7 million colors
  • THE PERFECT VIEW: The 178/178 degree extra wide viewing angle prevents the shifting of colors when viewed from an offset angle, so you always get consistent colors
  • WORK SEAMLESSLY: This sleek monitor is virtually bezel-free on three sides, so the screen looks even bigger for the viewer. This minimalistic design also allows for seamless multi-monitor setups that enhance your workflow and boost productivity
  • A BETTER READING EXPERIENCE: For busy office workers, EasyRead mode provides a more paper-like experience for when viewing lengthy documents
await page.screenshot({
  path: 'full-page.png',
  fullPage: true
});

Full-page capture is useful for documentation and archival images, but very long pages can produce large images. For a specific rectangle, use clip with x, y, width, and height.

Render one element

Use a locator when the output should contain only a component such as a header, chart, or invoice.

await page.locator('.header').screenshot({ path: 'header.png' });

Locator screenshots wait for actionability checks and scroll the element into view before clipping to its bounds. They do not reveal content hidden behind another element. A scrollable element shows only the content currently visible inside that element.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #2
Philips 22 Inch Computer Monitor FHD 100Hz VA VESA Flicker-Free, 221V8LB
  • CRISP CLARITY: This 22 inch class (21.5″ viewable) Philips V line monitor delivers crisp Full HD 1920x1080 visuals. Enjoy movies, shows and videos with remarkable detail
  • 100HZ FAST REFRESH RATE: 100Hz brings your favorite movies and video games to life. Stream, binge, and play effortlessly
  • SMOOTH ACTION WITH ADAPTIVE-SYNC: Adaptive-Sync technology ensures fluid action sequences and rapid response time. Every frame will be rendered smoothly with crystal clarity and without stutter
  • INCREDIBLE CONTRAST: The VA panel produces brighter whites and deeper blacks. You get true-to-life images and more gradients with 16.7 million colors
  • THE PERFECT VIEW: The 178/178 degree extra wide viewing angle prevents the shifting of colors when viewed from an offset angle, so you always get consistent colors

Choose an output format and scale

Option What it does Important detail
PNG Lossless raster output Default format; quality does not affect PNG.
JPEG Compressed photo-style output Documented default quality is 80; transparency is not supported.
WebP Modern compressed output Quality 100 is lossless; lower values are lossy.
quality Sets JPEG or WebP quality from 0 to 100 Ignored for PNG.
scale: 'css' One image pixel per CSS pixel Produces a predictable CSS-sized image.
scale: 'device' Uses device pixels Documented default; high-DPI contexts can produce images twice as large or more.

To select a format explicitly, provide a matching filename extension or the API’s type option. Use PNG for crisp interface text, JPEG when smaller photographic files matter, and WebP when your pipeline supports it.

Return a buffer instead of saving a file

Without a path, the call resolves to a buffer. Pass it directly to an image processor, object-storage client, or pixel-diff tool.

const imageBuffer = await page.screenshot();
// send imageBuffer to the next processing step

Make captures repeatable

Control animation

Screenshots allow animations by default. Set animations: 'disabled' to fast-forward finite animations and cancel infinite ones during capture; infinite animations resume afterward.

Rank #3
Sale
Dell 24 Monitor - SE2426H - 23.8-inch FHD (1920x1080) 144Hz 1ms Display, in-Plane Switching (IPS) Technology, AMD FreeSync™, TÜV 3-Star 2X HDMI, Tilt
  • Clear visuals. Fluid motion: A 144Hz refresh rate and 1ms MPRT deliver smooth, tear‑free motion across work, gaming, and streaming for clearer, more fluid viewing.
  • Eye comfort: TÜV Rheinland 3‑star* certification reduces harmful blue light while preserving stunning color quality without compromise. *TÜV Rheinland 3-star eye comfort certification.
  • Wide viewing angle: Get consistent views across a wide 178° /178° viewing angle.
  • In-Plane Switching (IPS): See excellent color accuracy and consistency across wide viewing angles with In-plane Switching (IPS) technology.
  • Ultra-thin bezels: Maximize your viewing experience with thin bezels.
await page.screenshot({
  path: 'stable.png',
  animations: 'disabled'
});

Hide the caret and mask sensitive regions

The default caret setting is hide. Supply a list of locators in mask to cover matching elements with a solid overlay. The default mask color is pink #FF00FF; change it with maskColor.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
await page.screenshot({
  path: 'masked.png',
  mask: [page.locator('.email'), page.locator('.account-number')],
  maskColor: '#000000'
});

Inject capture-only CSS

The style option injects CSS for the capture and can pierce Shadow DOM and inner frames. Use it to suppress blinking, ads, or other dynamic elements without changing the application’s normal page.

await page.screenshot({
  path: 'clean.png',
  style: '.cookie-banner, .chat-widget { display: none !important; }'
});

Use transparency when appropriate

omitBackground: true allows a transparent background. It does not apply to JPEG, so choose PNG or WebP for transparent output.

Rank #4
Samsung 27" Essential S3 (S36GD) Series FHD 1800R Curved Computer Monitor
  • CURVED FOR ENHANCED ENGAGEMENT: An immersive viewing experience with a curved monitor that wraps more closely around your field of vision; It creates a wider view, enhancing depth perception and minimizing peripheral distraction
  • SMOOTH PERFORMANCE FOR SEAMLESS CONTENT: Stay in the action when playing games, watching videos, or working on creative projects; The 100Hz refresh rate reduces lag and motion blur so you don't miss a thing in fast-paced moments¹
  • MORE GAMING POWER: Gain the edge with optimizable game settings; Color and image contrast can be adjusted to see scenes more vividly and spot enemies hiding in the dark; Game Mode adjusts any game to fill the screen so you can view every detail²
  • KEEP IT EASY ON THE EYES: Care for your eyes and stay comfortable, even during long sessions; Advanced eye comfort technology certified by TÜV reduces eye strain by minimizing blue light and reducing irritating screen flicker²
  • INCREASED VERSATILITY: Connect to more; Plug devices straight into your monitor for increased flexibility, making your computing environment even more convenient

Set timing and cancellation limits

The screenshot API documents a timeout option and an AbortSignal. A signal does not disable the default timeout; configure both when a capture must have a strict upper bound. Check the API reference for the Playwright version you use, since options can be version-specific.

Capture after the page is ready

Navigation finishing does not guarantee that fonts, data, or lazy content are visible. Before the screenshot, wait for a selector, an application state, or a deliberate delay using Playwright’s page-waiting APIs. For pages whose layout changes continuously, combine readiness waits with disabled animations and capture-only CSS.

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

Screenshot versus visual regression testing

page.screenshot() creates an image; it is not an assertion. In Playwright Test, use expect(page).toHaveScreenshot() for visual regression. The assertion takes screenshots until two consecutive captures match, then compares the final image with the stored expectation.

Best Value
Sale
Sceptre New 22-Inch Gaming Monitor, FHD 1080p, Up to 144Hz, HDMI, DisplayPort, Built-in Speakers, Machine Black (E225W-FW144 Series, 2026)
  • 【INTEGRATED SPEAKERS】Whether you're at work or in the midst of an intense gaming session, our built-in speakers provide rich and seamless audio, all while keeping your desk clutter-free.
  • 【EASY ON THE EYES】 Protect your eyes and enhance your comfort with Blue-Light Shift technology. This feature reduces harmful blue light emissions from your screen, helping to alleviate eye strain during long hours of use and promoting healthier viewing habits.
  • 【WIDEN YOUR PERSPECTIVE】Our sleek minimal bezel design ensures undivided attention. The nearly bezel-free display seamlessly connects in a dual monitor arrangement, delivering an unobstructed view that lets you focus on more at once, completely distraction-free.
import { test, expect } from '@playwright/test';

test('home page visual check', async ({ page }) => {
  await page.goto('https://example.com');
  await expect(page).toHaveScreenshot('home.png');
});

Playwright Test can also save automatic screenshot artifacts, including an only-on-failure mode. Its configuration includes a fullPage setting for those automatic captures.

Or skip the browser setup: ScreenshotNeo

ScreenshotNeo is a website screenshot API and MCP server. It handles browser rendering behind one request, accepts consent banners and removes more than 60 known consent platforms, newsletter popups, and chat widgets before capture, and bills only clean shots. Bot checks, CAPTCHAs, blank pages, timeouts, failed loads, and cache hits are not billed, with the result identified by X-Page-Verdict and X-Billed headers. Its MCP tools—take_screenshot, get_page_info, and capture_pdf—work with Claude, Cursor, and other MCP clients.

Use the API documentation at https://screenshotneo.com/docs/ for authentication and options.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://example.com -o shot.webp
import requests
r = requests.get("https://api.screenshotneo.com/v1/shot", params={"access_key": "YOUR_API_KEY", "url": "https://example.com"}, timeout=90)
open("shot.webp", "wb").write(r.content)
const q = new URLSearchParams({ access_key: 'YOUR_API_KEY', url: 'https://example.com' });
const res = await fetch(`https://api.screenshotneo.com/v1/shot?${q}`);

ScreenshotNeo includes full-page and element capture, device presets, custom viewports, retina scale, PDF output, custom CSS and JavaScript, waits, request blocking, headers, cookies, user agents, geolocation, caching, signed links, asynchronous webhooks, bulk capture, and a usage API. Plans range from a free 1,000 shots per month to Business at 1,000,000; every feature is included on every plan, and yearly billing provides two months free.

Practical decision guide

  • Need a local file from a scripted browser: use page.screenshot({ path }).
  • Need everything below the fold: add fullPage: true.
  • Need one component: call locator.screenshot() and account for overlays and internal scrolling.
  • Need image bytes: omit path and consume the returned buffer.
  • Need stable visual tests: disable animations, mask dynamic data, and use toHaveScreenshot().
  • Need hosted capture, PDFs, bulk URLs, or an MCP workflow: use ScreenshotNeo instead of maintaining browser infrastructure.

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.