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

Cypress can capture a website screenshot, but cy.screenshot() does not compare images or create an overlay by itself. To compare a current page with an approved baseline, add a visual-testing plugin or service that integrates with Cypress. Its review interface can show the baseline and current capture together, or combine them in an overlay or highlighted difference view.

What an image overlay shows

A visual comparison starts with two images: an approved baseline and a new capture produced by a test. An overlay puts the images on top of each other so shifted edges, changed spacing, and altered colors are easier to spot. A difference view highlights pixels or regions that differ. The exact views and review controls depend on the plugin or service you choose.

Cypress’s own cy.screenshot() command captures an image; Cypress does not perform image comparison itself. The comparison and overlay workflow comes from the visual-testing integration.

Set up a reliable Cypress comparison

  1. Choose a meaningful checkpoint. Use Cypress to navigate to a particular page, open a component, or drive the application into a specific state before capturing. Capture deliberate UI states rather than every incidental point in a test.
  2. Make the state reproducible. For changing API data, use cy.intercept() with fixture data so the test sees predictable responses. Keep the browser and rendering environment consistent between baseline creation and later runs. Cypress screenshots disable JavaScript timers and CSS animations by default, which helps reduce variation during capture.
  3. Add an integration. Select a Cypress-compatible visual-testing plugin or hosted service, install and configure it according to its current documentation, and use its Cypress command or workflow to save a baseline and compare subsequent captures. Cypress’s guide lists both open-source plugins and hosted services; their setup and review steps are not interchangeable.
  4. Review the result. Inspect the baseline and current images, then use the integration’s overlay or highlighted difference view to locate changes. Approve a new baseline only when the visual change is intentional.
  5. Control unavoidable variation narrowly. If a third-party widget or ad cannot be made deterministic, mask only the affected region using the integration’s supported mechanism. A broad page-wide threshold can hide real regressions elsewhere.

Where the Cypress screenshot command fits

it('captures the account page at a stable checkpoint', () => {
  cy.intercept('GET', '/api/account', { fixture: 'account.json' }).as('account');
  cy.visit('/account');
  cy.wait('@account');
  cy.screenshot('account-page');
});

This example captures a screenshot after the test receives fixture-backed account data. It does not create a baseline comparison or overlay; connect the capture checkpoint to the command or workflow documented by your chosen visual-testing integration.

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

Choose the right capture scope and tool

Element or full page?

  • Capture an element for a component-level check. A focused image reduces unrelated page changes in the comparison and gives the resulting diff a clearer owner.
  • Capture a full page when the page’s overall layout is what you need to validate. Full-page captures can include more unrelated variation, so stabilize or mask dynamic areas carefully.

Local plugin or hosted service?

Approach What to weigh
Local or CI-based plugin Image comparison can remain in your project or CI environment, avoiding transfer of images to a hosted comparison service. Your team is responsible for baselines, CI artifacts, review, and consistent rendering.
Hosted service May provide a service-specific comparison and review workflow, such as pull-request review, baseline approval, or cross-browser and responsive rendering. Check current capabilities, Cypress compatibility, image handling, and pricing with the provider.

Cypress’s guide lists Cypress Image Diff, Cypress Image Snapshot, Cypress Visual Regression, and Visual Regression Diff as open-source options, along with hosted services including Applitools Eyes, Argos, Chromatic, Happo, LambdaTest SmartUI, Percy, Sauce Labs Visual, SmartBear VisualTest, and Wopee.io. This is a set of options, not a ranking or guarantee that every product fits every project. The plugin catalog changes: for example, its listing for Cypress Image Snapshot 11.0.0 shows an update in September 2026 and a requirement for Cypress 15.10.0 or newer. Verify the live catalog and package documentation before installing or relying on a version-specific setup.

Questions to check before adopting a tool

  • Does it capture the pages, elements, or components you need?
  • Where are baselines stored, and who can approve updates?
  • How are differences surfaced in CI or pull requests, and how can reviewers share them?
  • Does it support the browsers and responsive widths your tests require?
  • How does it handle dynamic regions and rendering variation?
  • What Cypress versions does it support, and how are captured images handled?

Reduce noisy differences without hiding regressions

Visual tests are most useful when a difference corresponds to a real change. Fix unstable inputs first: fixture-backed network responses and a consistent rendering environment make comparisons more meaningful. Cypress’s default suppression of timers and CSS animations also reduces some capture-time movement.

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

When a region remains inherently variable, use a narrow mask for that region rather than loosening the comparison across the whole page. Review the overlay or diff before changing a baseline; a difference may be an unintended regression, not harmless noise.

Troubleshoot common comparison problems

  • The test saves an image but reports no comparison. cy.screenshot() only captures. Configure a visual-testing integration and use its documented baseline and comparison workflow.
  • Every run shows differences in data-driven content. Stub the relevant API with cy.intercept() and a fixture, then ensure the test waits for the response before capture.
  • Text, edges, or layout differ between machines. Confirm that baseline and current captures use a consistent browser and rendering environment. Inspect the changed region rather than immediately approving a new baseline.
  • An ad or third-party widget changes unpredictably. If you cannot control its content, mask only that region using the integration’s supported feature.
  • A plugin setup or command fails after an upgrade. Check the plugin’s current package documentation and catalog entry for supported Cypress versions and configuration; do not assume an older setup still applies.
  • The diff is too broad to review. Capture the component or element relevant to the test instead of the whole page, unless page-wide layout is the specific behavior under test.

Or skip the browser setup

For a screenshot capture without configuring a browser, ScreenshotNeo offers a single GET request. This captures an image; it does not replace a visual-testing integration’s baseline comparison or overlay review.

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.
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.
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 API documentation for request options. ScreenshotNeo accepts cookie and consent banners and removes more than 60 known consent platforms, newsletter popups, and chat widgets before capture; each of those steps can be turned off. Bot checks, blank pages, timeouts, failed loads, and cache hits are not billed, and responses identify the page verdict and billing status in headers. An MCP server provides take_screenshot, get_page_info, and capture_pdf tools for AI agents and MCP clients. The Free plan includes 1,000 screenshots per month with no card; paid plans start at $5 for 3,000 screenshots.

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

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

Frequently Asked Questions

Can Cypress create an image overlay with cy.screenshot() alone?

No. The command captures an image; a visual-testing plugin or service must supply image comparison and any overlay or difference view.

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

Should I approve every new screenshot as the baseline?

No. Review the changed region first and approve a replacement only when the visual change is intentional.

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