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

To capture a Google search results page at exact dimensions, set both the viewport width and height before capturing, then take a viewport screenshot—not a full-page screenshot. For a one-off image, use Chrome DevTools. For repeatable captures, set the viewport in Playwright before navigating to Google.

Capture a fixed-size Google SERP in Chrome DevTools

  1. Open the Google results page you want to capture, or open Chrome DevTools first.
  2. Turn on the Device Toolbar using the device/viewport toggle in DevTools.
  3. Choose Responsive mode, then enter the required width and height in the viewport fields. Chrome’s documentation illustrates the fields with 480 by 415 pixels; that is an example, not a recommended SERP size. Chrome DevTools Device Mode documentation
  4. Load the intended query and check the visible page state, including whether a consent prompt is present. Avoid resizing after setting the dimensions if you need to preserve the setup.
  5. In the Device Toolbar, open More options and choose Capture screenshot. This captures the visible viewport. Choose Capture a full size screenshot only if you want content extending below the fold.

For an interpretable record, save the query, width, height, browser version, device pixel ratio or output scaling, and capture date with the image. A consistent setup helps compare captures, but it does not make Google’s results identical over time.

Automate the capture with Playwright

Set the viewport when creating the page or browser context, or call page.setViewportSize() before navigating. Then use page.screenshot() with fullPage: false to capture just the visible viewport. Playwright advises setting dimensions before navigation because some sites do not expect a phone-sized page to be resized after loading. See the Playwright Page API and Playwright screenshot tools.

Runnable Node.js example

Install Playwright and its Chromium browser with npm install playwright and npx playwright install chromium. Save this as serp.js, then run node serp.js:

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
const { chromium } = require('playwright');

(async () => {
  const browser = await chromium.launch({ headless: true });
  const page = await browser.newPage({
    viewport: { width: 1365, height: 900 },
    deviceScaleFactor: 1
  });

  try {
    await page.goto('https://www.google.com/search?q=site%3Aexample.com', {
      waitUntil: 'domcontentloaded',
      timeout: 60000
    });
    await page.screenshot({
      path: 'serp.png',
      fullPage: false,
      scale: 'css'
    });
  } finally {
    await browser.close();
  }
})();

Replace the example query with your target. The viewport here is 1365 by 900 CSS pixels, chosen as an example; use your required dimensions instead. The timeout is an upper bound for navigation, not a guarantee that every result or late-loading element has finished rendering. If your capture requires a particular page state, add an appropriate wait for that state before taking the screenshot.

Choose the output scale deliberately

  • scale: 'css' maps one screenshot pixel to one CSS pixel, so a 1365 by 900 viewport produces a 1365 by 900 image.
  • scale: 'device' uses device pixels. On a high-DPI setup, the output can have more pixels than the CSS viewport dimensions.
  • fullPage: false keeps the output to the viewport. Set fullPage: true only when you intentionally need the scrollable page beyond the visible area; it is not a fixed-viewport SERP capture.

To choose a different size without recreating the page, call await page.setViewportSize({ width: 1280, height: 800 }) before page.goto(). The width and height describe the page viewport, not the outside dimensions of the browser window.

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

Choose the right capture mode

Need Use What the output represents
A one-off capture Chrome DevTools Device Toolbar The currently visible viewport at the dimensions entered.
Repeated or scripted captures Playwright with viewport set before navigation A viewport screenshot controlled by your script and selected output scale.
Visible SERP at fixed dimensions Viewport capture Only what fits in the specified width and height.
Documentation extending below the fold Full-page capture Content beyond the viewport; dimensions differ from a fixed viewport image.

Or skip the browser setup

ScreenshotNeo accepts a URL in one GET request and returns a screenshot. For example, this cURL request captures a page at a set viewport size:

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 -d width=1365 -d height=900 -d format=png -o serp.png

See the ScreenshotNeo API documentation for request parameters. ScreenshotNeo removes cookie banners, newsletter popups, and chat widgets before capture; each cleanup step can be turned off. Bot checks, blank pages, and failed loads are not billed, and response headers report the page verdict and billing status. Its MCP server provides screenshot tools for AI agents. The Free plan includes 1,000 shots per month with no card; paid plans start at $5 for 3,000 shots.

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

Learn about ScreenshotNeo or sign up free for 1,000 screenshots a month, with no card required.

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.

Troubleshooting fixed-viewport captures

  • The image has the wrong dimensions: Check the viewport width and height, not the outer browser window size. In Playwright, confirm the viewport is set before navigation and select scale: 'css' if you want one output pixel per CSS pixel.
  • The capture includes content below the fold: In DevTools choose Capture screenshot, not Capture a full size screenshot. In Playwright, set fullPage: false.
  • The image is larger than expected: Check whether device-pixel output was selected. Use CSS scale for dimensions matching CSS pixels.
  • The layout changes after resizing: Set the viewport before navigating rather than changing it after the page loads.
  • The screenshot shows a consent prompt or another overlay: The capture records the current page state. Note whether the prompt was visible; if it should be absent, resolve the prompt in the browser before capture or use an appropriate capture workflow.
  • The screenshot differs on another date or run: A fixed viewport controls the capture geometry, not the result set Google chooses to display. Record the query and capture date, and avoid treating one image as a permanent or universal SERP.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Frequently Asked Questions

Does a fixed viewport guarantee the same Google results every time?

No. It fixes the capture dimensions, not Google’s displayed results. Record the query and capture date when preserving a screenshot for comparison.

Should I use a viewport screenshot or a full-page screenshot?

Use a viewport screenshot for a SERP at specified visible dimensions. Use full-page capture only when you need content below the fold.

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

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.

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