Driver FixRecommendedSound, Wi-Fi or graphics acting up? Check drivers firstFind missing or outdated drivers fast.Check DriversOctober DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsPC HealthRecommendedCrashes, freezes, slowdowns? Check your PC nowSpot repairable issues before they interrupt work.Check PC×
Skip to content
Mountain View desk4 min

How to Screenshot a Google SERP at a Fixed Viewport Size

Set the viewport width and height before capturing a Google results page. Use Chrome DevTools for a one-off image or Playwright for repeatable viewport screenshots.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

To capture a Google search results page at a fixed size, set both the viewport width and height, then take a viewport screenshot—not a full-page screenshot. For a one-off image, Chrome DevTools is the quickest route. For repeatable captures, set the viewport before navigation in Playwright and save a screenshot with fullPage: false.

What “fixed viewport size” means

The viewport is the page area visible inside the browser, not the outer browser window. A fixed viewport therefore means specifying both its width and height in CSS pixels. A screenshot of the visible viewport has those CSS-pixel dimensions when captured at CSS scale; a full-page screenshot extends below the fold and is a different deliverable.

As an Amazon Associate I earn from qualifying purchases.

Record whether you used CSS-pixel or device-pixel output. Device-pixel scale can produce larger image dimensions on high-DPI setups. Setting a viewport makes the capture setup repeatable, but it does not establish that Google will return the same SERP on later visits. Keep the query and capture date with the image if comparisons matter.

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

Capture a fixed-size SERP manually in Chrome

  1. Open Chrome DevTools, or open the Google results page you want to capture and then open DevTools.
  2. Turn on the Device Toolbar using the device/viewport toggle in DevTools.
  3. In the device selector, choose Responsive. Enter the required width and height in the viewport fields. Chrome documentation illustrates the fields with 480 by 415 pixels; that is an interface example, not a recommended SERP size. Chrome DevTools Device Mode documentation
  4. Navigate to the intended Google query if you have not already done so. Check that the visible page state is the one you need, including whether any consent prompt is shown. Avoid resizing the browser after setting the dimensions if you need to preserve the setup.
  5. Open the Device Toolbar’s More options menu and select Capture screenshot. This captures the visible viewport. Do not choose Capture a full size screenshot unless you want content below the fold as well.
  6. Record the viewport width and height, browser version, device pixel ratio or output scaling, query, and capture date alongside the image.

Automate the capture with Playwright

Set the viewport when creating the page or browser context, or call page.setViewportSize() before navigating to Google. Then use page.screenshot() with fullPage: false. Playwright cautions that many sites do not expect a phone-sized page to change dimensions after loading, so setting the size before navigation avoids relying on a post-load resize. The example below uses Chromium, a CSS-pixel screenshot, and a query URL; replace the dimensions and query with your intended values.

#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
import { chromium } from 'playwright';

const width = 1280;
const height = 800;
const query = 'site:example.com screenshot';
const url = `https://www.google.com/search?q=${encodeURIComponent(query)}`;

const browser = await chromium.launch();
const page = await browser.newPage({ viewport: { width, height } });

try {
  await page.goto(url, { waitUntil: 'domcontentloaded' });
  await page.screenshot({
    path: 'google-serp.png',
    fullPage: false,
    scale: 'css'
  });
} finally {
  await browser.close();
}

Install the Playwright package and its browser before running this script. For a one-off viewport adjustment, await page.setViewportSize({ width: 1280, height: 800 }) also works, but call it before navigation. Playwright documents page screenshots, viewport sizing, and the separate full-page option in its Page API; its screenshot documentation describes viewport, element, and full-scrollable-page modes.

Choose the screenshot scale

  • scale: 'css' maps one screenshot pixel to one CSS pixel, so output dimensions correspond to the configured viewport dimensions.
  • scale: 'device' uses device pixels. On high-DPI setups, the resulting image can have more pixels than the CSS viewport dimensions.

Choose viewport capture or full-page capture

What you need Chrome DevTools Playwright
Visible SERP at set width and height Capture screenshot fullPage: false
Content extending below the fold Capture a full size screenshot fullPage: true

Use the first row when the requirement is a fixed-size visible SERP. A full-page image has different dimensions and should not be substituted for a viewport capture.

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

Common problems and fixes

The image dimensions do not match the viewport

Check that you set both width and height, and verify whether the capture uses CSS pixels or device pixels. In Playwright, use scale: 'css' for one output pixel per CSS pixel. In Chrome, note device pixel ratio or output scaling with the capture so the dimensions can be interpreted.

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.

The screenshot includes the whole results page

You likely captured the full page. In DevTools, use Capture screenshot, not Capture a full size screenshot. In Playwright, set fullPage: false.

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.

The page layout changes after resizing

Set the viewport before navigation rather than changing dimensions after the SERP has loaded. This avoids relying on how a page responds to a post-load resize.

Repeat captures show different Google results or page states

A fixed viewport controls the capture dimensions; it does not ensure identical search results or page state. Save the query, date, browser version, and relevant capture conditions with each image. The browser documentation cited here describes capture behavior, not Google’s SERP consistency across visits, accounts, regions, or languages.

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
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 is a website screenshot API and MCP server from Yorker Media. Its API accepts a URL in a GET request and returns an image or PDF. The code below captures a Google query URL; the supplied call uses the service’s basic request format. For the API documentation, see ScreenshotNeo docs. The API features include viewport selection, but the exact parameter names and values for a particular setup should be checked in the docs rather than guessed.

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.
curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://www.google.com/search?q=site%3Aexample.com%20screenshot -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 step can be turned off. Bot checks/CAPTCHAs, blank pages, timeouts, failed loads, and cache hits are not billed, and responses indicate the page verdict and billing status in headers. Its MCP server offers take_screenshot, get_page_info, and capture_pdf for AI agents and MCP clients. The free plan includes 1,000 shots per month with no card; paid plans start at $5 for 3,000 shots. See ScreenshotNeo and sign up for 1,000 free screenshots a month with no card.

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
PC Slower Than It Used to Be?Free scan - under a minute
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.