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

Set a fixed browser viewport width and height, then reuse the same device scale factor, screenshot scale, browser version, and execution environment for every capture. There is no universally correct viewport for product prices: choose dimensions that show the price and enough nearby information to identify the product.

Choose dimensions that show the price and product

First decide what each image needs to communicate. A price alone may be hard to interpret later; include enough nearby context, such as the product name or image, to identify the item. The retailer’s page layout and your intended use determine the required dimensions. Playwright’s example viewport of 1280 × 720 is a configuration example, not a product-price standard. Playwright emulation documentation

Set and reuse the viewport in Playwright

Set both width and height explicitly in the browser context. For example, this Node.js script opens a product page in a fixed viewport and saves the visible viewport as a PNG. Replace the URL and dimensions with values appropriate for your page.

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

(async () => {
  const browser = await chromium.launch({ headless: true });
  const context = await browser.newContext({
    viewport: { width: 1280, height: 720 },
    deviceScaleFactor: 1
  });
  const page = await context.newPage();
  await page.goto('https://example.com/product', { waitUntil: 'networkidle' });
  await page.screenshot({ path: 'product-price.png', fullPage: false, scale: 'css' });
  await browser.close();
})();

Playwright also supports changing the viewport on an existing page with page.setViewportSize({ width, height }). For a repeatable capture series, keep the same dimensions in the context or set them identically each time. Playwright emulation documentation

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#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

Keep viewport, device scale, and screenshot scale distinct

Viewport dimensions are CSS-pixel dimensions of the browser’s page area. Device scale factor is a separate context setting that represents emulated device pixel density. Screenshot scale controls the relationship between CSS pixels and output-image pixels: Playwright’s css scale produces one output pixel per CSS pixel, while device scale uses the emulated device density and can create larger high-density images. Playwright screenshot documentation

  • For straightforward comparisons, choose a device scale factor and screenshot scale, then keep both unchanged.
  • Use CSS scale when you want output dimensions to correspond one-to-one with CSS pixels.
  • Use device scale when the capture should reflect the emulated device’s pixel density; account for the resulting output size.

Choose viewport-only or full-page capture

A viewport screenshot records only what is currently visible. A full-page screenshot includes the scrollable page, so it changes the framing and image dimensions. Use viewport-only capture when the price and product context fit in the chosen view. Use full-page capture when the relevant content extends below the fold and a longer image is useful. Keep the mode consistent across captures you intend to compare. Playwright screenshot documentation

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

Hold the browser environment steady

Matching viewport settings cannot guarantee pixel-identical results if the browser or machine differs. Playwright notes that rendering can vary with host operating system, browser version, settings, hardware, power source, and headless mode. Its visual comparison guidance says: “For consistent screenshots, run tests in the same environment where the baseline screenshots were generated.” Playwright visual comparison documentation

For a comparison series, use the same browser build and execution environment as the baseline where practical. Record the viewport width and height, device scale factor, screenshot scale, browser and version, and capture date alongside the image or in metadata. These details make a changed capture easier to diagnose.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
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.

Check the capture before relying on it

  • Confirm the price is visible and legible.
  • Check that the product identity is also in frame.
  • Verify that viewport dimensions, device scale factor, screenshot scale, and capture mode match the prior run.
  • If images are being compared pixel by pixel, confirm the browser version and execution environment have not changed.

Troubleshoot inconsistent screenshots

The price is missing or clipped

The selected viewport may not expose the price or enough product context. Adjust width or height for the page, then use those revised dimensions consistently. The documentation does not prescribe one size that works for every retailer.

The saved image has unexpected dimensions

Check whether the screenshot uses CSS or device scale and whether the device scale factor changed. Also verify whether the capture is viewport-only or full-page; full-page output includes scrollable content.

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

Images differ despite identical viewport dimensions

Viewport equality alone does not control rendering. Check the browser version, operating system, headless mode, settings, hardware, and power conditions, and compare within the same environment as the baseline when possible.

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 can return a screenshot or PDF with one request. Cookie banners are accepted and removed before capture, along with known consent platforms, newsletter popups, and chat widgets; those cleanup steps can be turned off. Bot checks, blank pages, timeouts, failed loads, and cache hits are not billed, and response headers report the page verdict and billing status. Its MCP server lets AI agents use screenshot tools, and 1,000 screenshots a month are free with no card; paid plans start at $5 for 3,000. See the API documentation.

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.
curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://example.com/product -o shot.webp

Sign up for 1,000 free screenshots a month, with no card required.

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.

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.