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

Cypress Full-Page Screenshot Cuts Off Content: How to Fix It

Find out why Cypress full-page screenshots cut off content and how to diagnose capture mode, clipping, sticky elements, horizontal overflow, layout, and timing.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

If a Cypress full-page screenshot is missing content, first confirm it is capturing the application with capture: 'fullPage', remove any clip crop, and check whether the missing area is below the page or outside its horizontal scroll area. Cypress builds a full-page image by scrolling and stitching captures, so sticky elements, page layout, and timing can also affect the result. The right fix depends on which part is missing.

1. Confirm Cypress is capturing the full application

Use an explicit full-page capture while diagnosing:

cy.screenshot('page', { capture: 'fullPage' })

Cypress documents capture: 'fullPage' as capturing the application from top to bottom. Its method scrolls vertically, takes screenshots at successive positions, and stitches them together; it is not one native full-document browser image. See the Cypress cy.screenshot() API documentation.

As an Amazon Associate I earn from qualifying purchases.

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

Check the actual capture mode in the command that produced the file. viewport captures the current viewport, while runner includes the browser viewport and Cypress Command Log. Automatic screenshots taken on test failure may be coerced to runner, so a failure artifact can differ from a normal application screenshot. Consult the API documentation for the behavior of your installed Cypress version.

2. Remove unintended cropping

Look for a clip option in the screenshot call or shared configuration. It crops the result to the requested x, y, width, and height. Temporarily remove it and capture again. If the missing content returns, adjust or remove the crop rather than changing the page layout.

#1 Best Overall
Philips 24 Inch Computer Monitor FHD 100Hz VA VESA Flicker-Free, 241V8LB | 1920×1080 LED Monitor, 4ms GtG, Adaptive Sync, HDMI 1.4, Tilt Adjust, Low Blue Light, 4yr Advance Replacement Warranty
  • 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

3. Identify where the content is missing

Compare the saved image with the page and its expected document dimensions. Determine whether the missing area is below the viewport, outside the horizontal scroll area, or absent within what appears to be a viewport-sized layout. Cypress does not prescribe one universal diagnostic script for this comparison; it is a way to narrow down which capture behavior or page condition to investigate.

  • Only the visible screen appears: verify that the capture mode is fullPage, not viewport.
  • A rectangular area is missing: check for a clip crop.
  • Content beyond a horizontal scrollbar is missing: see the horizontal-overflow section below.
  • The image ends at an unexpected page boundary: inspect the layout and viewport dimensions, then reduce the case to a minimal reproduction.

4. Handle fixed and sticky elements

Because Cypress captures at multiple vertical positions, a fixed or sticky header may appear more than once in the stitched image or interfere with how the page looks between captures. Cypress suggests temporarily changing the affected element to position: absolute before capturing, then restoring its prior position. Adapt this example to your page:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
cy.get('.sticky-header').invoke('css', 'position', 'absolute')
cy.screenshot('full-page', { capture: 'fullPage' })
cy.get('.sticky-header').invoke('css', 'position', null)

This simple sequence restores the element to its stylesheet-defined position after a successful screenshot. If the screenshot command fails, the later command might not run. Use cleanup that runs on failure in your test structure, and verify that the temporary position change does not shift or cover other content. The CSS change is a workaround for the capture, not a universal correction for page clipping.

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

5. Check oversized viewports and layout constraints

An open, triaged Cypress issue reports clipping with a very large viewport and a CSS-grid layout on Cypress 12.2.0 and Windows 10 Pro. That report is evidence of a specific case, not proof that the same cause explains cutoffs in other Cypress versions, browsers, or operating systems. If the page uses rules such as html, body { width: 100vw; height: 100vh; }, CSS grid, or has no top-level scrollbar, test a smaller viewport and compare the actual saved image dimensions.

Reduce the test to a minimal reproduction with the Cypress version, browser, operating system, viewport configuration, relevant CSS, and screenshot options recorded. Compare fullPage with other capture modes. Avoid assuming that increasing the viewport or enabling scaling will fix every case: Cypress sets screenshot scale to false by default, and the cited evidence does not establish scale: true as a general cutoff fix.

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.

6. Treat horizontal overflow as a separate problem

The documented full-page approach scrolls vertically. A Cypress issue report describes a horizontally scrolling page that is not fully represented by that method. Treat this as a version-specific issue lead, not a guarantee about every current release. Verify it with a small reproduction in your installed Cypress version. If content exists beyond horizontal overflow, consider capturing the relevant element or structuring the test around the content that needs checking; the cited sources do not establish one universal workaround for capturing every horizontally scrolled region.

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

7. Wait for a stable page state

Screenshot capture is asynchronous, and the page can change while the capture is underway. Cypress recommends stabilizing the page for visual tests. Before taking the screenshot, wait for the application state you intend to test: for example, wait for a relevant selector or for test data to be rendered using your normal Cypress assertions. Also account for changing content, fonts, and rendering conditions; Cypress’s visual testing guide discusses these as factors in visual 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

Do not use an arbitrary delay as a substitute for a reliable readiness condition when the page exposes one. Capture only after the expected content is present, and keep data and other dynamic elements deterministic where possible.

8. Troubleshoot common symptoms

Symptom What to check Next step
Image contains only the visible viewport Capture mode or an automatic failure screenshot Run an explicit cy.screenshot('page', { capture: 'fullPage' }) and check whether the artifact was captured as runner.
Image is cut to a specific rectangle clip in the command or configuration Remove it temporarily; then correct the crop dimensions if cropping is intentional.
Header or overlay repeats Fixed or sticky positioning during stitched capture Try Cypress’s temporary position: absolute approach and restore the original styling safely.
Bottom of a long page is missing Layout constraints, viewport size, page readiness, or a version-specific issue Check saved dimensions, stabilize the page, and reproduce with a smaller viewport and minimal layout.
Content beyond the horizontal scrollbar is missing Full-page capture scrolls vertically Verify the current version and test an element-specific or otherwise targeted capture; do not assume vertical stitching covers horizontal overflow.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

9. When to use a visual-testing workflow

cy.screenshot() creates an image; it does not compare that image with a baseline. If the real goal is to detect visual changes, Cypress’s visual testing guide describes comparison plugins and hosted services, and its documentation lists integrations including Applitools, Argos, Chromatic, Happo, LambdaTest SmartUI, Percy, Sauce Labs Visual, SmartBear VisualTest, and Wopee.io. These are workflow options for comparison or review, not guaranteed fixes for an underlying capture cutoff. Check each provider’s current capture behavior, overflow support, browser and viewport rendering, baseline management, CI integration, and review workflow before choosing one.

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 screenshot from an external URL rather than a Cypress test artifact, ScreenshotNeo is a website screenshot API and MCP server for developers. Its capture flow accepts cookie and consent banners and removes more than 60 known consent platforms, newsletter popups, and chat widgets before the shot; each step can be turned off. Bot checks and CAPTCHAs, blank pages, timeouts, failed loads, and cache hits are not billed, and response headers indicate the page verdict and billing status. An MCP server provides take_screenshot, get_page_info, and capture_pdf tools for AI agents.

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

Example cURL request (replace the URL with the page you want):

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 the request options. The free plan includes 1,000 shots per month with no card; paid plans start at $5 for 3,000 shots. Sign up for 1,000 free screenshots a month, with no card required.

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.

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
Crashes, No Sound, or Screen Glitches?Free driver scan
Windows Errors? Fix Them Before They SpreadFree repair 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.