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 desk5 min

Why Cypress Screenshots Look Blurry: What the `scale` Option Does

Cypress’s scale option fits the app to the browser viewport; it does not directly set screenshot resolution. Identify capture mode and inspect the saved image before changing viewport or browser settings.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Cypress’s scale option controls whether the captured application is scaled to fit the browser viewport; it is not a setting that directly increases screenshot resolution. Cypress documents its default as false, but runner screenshots force scaling to true. To diagnose blur, identify the capture mode, inspect the saved image’s pixel dimensions, and separate the saved file from Cypress’s scaled preview.

What Cypress’s screenshot scale option does

In the Cypress.Screenshot API, scale means whether to scale the application to fit into the browser viewport. Its documented default is false. Cypress forces it to true for runner captures, which include the browser viewport and Cypress Command Log.

As an Amazon Associate I earn from qualifying purchases.

That setting is distinct from choosing a larger CSS viewport or requesting more output pixels. Cypress also does not simulate devicePixelRatio, so viewport width and height should not be treated as the saved image’s physical pixel dimensions. The cy.viewport() documentation notes that Cypress may scale and center the app in its preview when the screen cannot display all configured viewport pixels. A preview that looks soft is not, by itself, proof that the saved PNG is blurry.

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

Cypress’s documentation says: “Scaling the app should not affect any calculations or behavior of your application (in fact it won’t even know it’s being scaled).” That statement concerns application calculations and behavior; it does not promise that scaling has no effect on screenshot sharpness.

#1 Best Overall
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

Identify the capture mode before changing settings

Cypress supports distinct screenshot modes, and they do not behave identically:

  • Viewport: captures the app in the current browser viewport.
  • Full page: scrolls and stitches captures from the top to the bottom of the page.
  • Runner: includes the browser viewport and Cypress Command Log; Cypress forces scale: true.
  • Element: captures a selected element rather than the full viewport; use the command’s element-capture options when that is your goal.

Failure screenshots are coerced to runner capture, according to the screenshot API. Therefore, a setting that works for an explicit viewport capture may not produce the same result for a failure screenshot. The cy.screenshot() command documentation also describes full-page stitching and screenshot callback details.

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

How to check the actual saved screenshot

  1. Record how the image was produced: explicit viewport, full page, runner, element, or automatic failure screenshot.
  2. Check whether scale was passed to .screenshot() or set globally with Cypress.Screenshot.defaults(). Defaults can affect screenshot commands and failure screenshots.
  3. Use onAfterScreenshot to inspect the saved path and reported dimensions, as described in the command documentation. For example:
    cy.get('.report').screenshot({
      onAfterScreenshot($el, props) {
        console.log('Saved screenshot:', props.path);
        console.log('Screenshot dimensions:', props.dimensions);
      },
    });
  4. Open the saved PNG in an image viewer or inspect its file dimensions with your usual image tooling. Compare those pixel dimensions with the intended output, not just with how large the preview pane renders the image.
  5. Repeat the capture in the same browser and execution mode after changing one variable at a time.

The callback example is intended for an element capture; for a page screenshot, call cy.screenshot({ onAfterScreenshot(...) { ... } }) with the same callback. Use the saved path and dimensions to establish whether the artifact itself is unexpectedly small or the preview is merely being resized.

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

Getting a larger or sharper application screenshot

First decide whether you need a larger CSS layout or more saved pixels. Increasing viewportWidth and viewportHeight changes the page’s CSS viewport, but does not automatically guarantee a higher-resolution file. Cypress’s engineering discussion explains that the app can still be scaled to fit the available iframe. Inspect the output dimensions after changing the viewport rather than assuming a resolution multiplier.

Rank #3
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.

For browser-scale experiments, Cypress’s engineering blog discusses device scale factor and gives the Chrome argument --force-device-scale-factor=1. Treat this as an environment-specific diagnostic, not a universal blur fix: verify the saved dimensions and appearance in the actual browser and headed or headless run mode you use. Cypress does not simulate devicePixelRatio.

For repeatable visual checks, hold the rendering environment steady: use the same Cypress and browser versions, operating system, installed fonts, display scaling, and fixed viewport where possible. Cypress’s visual testing guidance notes these as sources of rendering differences.

Rank #4
Sale
Samsung 27" Essential S3 (S36GD) Series FHD 1800R Curved Computer Monitor | 100Hz, Game Mode, Advanced Eye Comfort, HDMI and D-sub Ports (LS27D366GANXZA)
  • 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

Common causes and fixes

What you observe Likely explanation What to check
Runner or failure screenshot looks scaled Runner capture forces scale: true; failure screenshots use runner capture. Confirm the capture type. If you need an application-only image, explicitly capture the viewport or target element rather than relying on a failure screenshot.
Preview looks blurry, but the image may be fine The preview can scale and center the app to fit available screen space. Inspect the saved file’s dimensions and view it at native size outside the preview.
Larger viewport values did not yield more pixels CSS viewport dimensions and physical screenshot dimensions are not interchangeable; iframe scaling can also constrain the rendered app. Check the saved PNG dimensions after capture and validate any browser device-scale-factor change in the target run mode.
Visual differences vary between machines or runs OS, browser version, display scaling, and installed fonts can alter rendering. Fix the environment and viewport before comparing screenshots.
Full-page output looks inconsistent with a viewport capture Full-page capture scrolls and stitches screenshots. Check the capture mode and compare equivalent page regions; do not treat a stitched capture as identical to a single viewport image.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Performance, reliability, and cost considerations

Full-page capture involves scrolling and stitching, so it is a different capture path from a single viewport image. For reliable visual comparisons, keep the mode and rendering environment constant. The available Cypress guidance does not establish a typical resolution, a universal improvement from changing scale, or how prevalent blurry screenshots are; measure your own saved artifact instead of assuming a specific pixel gain.

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.

If the need is simply a clean website screenshot outside a Cypress test, ScreenshotNeo is an alternative website screenshot API and MCP server. It returns PNG, JPEG, WebP, or PDF captures through a GET request, and its billing distinguishes clean shots from failed or non-page outcomes.

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.

Or skip the browser setup

For a one-call website capture, use ScreenshotNeo’s API. See the ScreenshotNeo API documentation for options and setup.

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

ScreenshotNeo accepts cookie or consent banners before capture and removes more than 60 known consent platforms, newsletter popups, and chat widgets; each of those steps can be turned off. Bot checks or CAPTCHAs, blank pages, timeouts, failed loads, and cache hits cost nothing, and responses identify the page verdict and billing status. Its MCP server provides take_screenshot, get_page_info, and capture_pdf tools 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 shots.

Sign up for ScreenshotNeo’s free plan to try 1,000 screenshots a month with no card.

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

Visual regression is a separate problem

cy.screenshot() captures images; it does not compare them. Cypress’s visual testing guidance names Applitools and SmartBear VisualTest as services with Cypress integrations. Those comparison workflows may help detect rendering changes, but they do not resolve a capture-resolution issue by themselves.

Frequently Asked Questions

Does scale: false guarantee a sharper Cypress screenshot?

No. It controls whether Cypress scales the app to fit the viewport; it does not guarantee a particular saved pixel dimension or sharpness.

Why can a Cypress preview look different from the PNG file?

Cypress may scale and center the preview to fit the available screen. Judge the saved artifact by its actual dimensions and appearance at native size.

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.

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.

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
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.