October DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsSlow PC?RecommendedPC slow today? Run a repair scan before it gets worseResolve common Windows issues and optimize system performance.Scan NowOctober DealsAmazon USDeal season is back - check today's better picksAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
Mountain View desk6 min

How to Screenshot Google SERPs with a Custom Browser User-Agent

Use Chrome DevTools for a one-off Google SERP capture or Puppeteer for repeatable screenshots, with practical notes on UA overrides, device emulation, and interpreting results.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

To screenshot a Google results page with a custom browser User-Agent, override the UA in Chrome DevTools before loading the search, or set it in Puppeteer before navigation and save a screenshot. The result records one browser session—not a universal ranking—and changing the UA string alone does not reproduce every device signal.

Choose the capture method

Method Best for Trade-off
Chrome DevTools A one-off capture where you want to inspect the browser and its settings. Manual and less convenient to repeat consistently.
Puppeteer Repeated or parameterized captures, such as testing several queries or viewport sizes. Requires a Node.js setup, and automated output may differ from a visible browser session.

Use the same query, browser version, viewport, locale, device settings, and headful or headless mode when comparing captures. Record the date and time too: Google results and page state can vary with context.

As an Amazon Associate I earn from qualifying purchases.

Capture a SERP manually in Chrome DevTools

  1. Open Chrome and DevTools. Select the DevTools menu, then More tools > Network conditions. If Network conditions is not visible, open the command menu and search for it.
  2. In Network conditions, clear Use browser default under User agent, then enter the full UA string you want Chrome to send.
  3. In the same panel, you can disable the cache if you need to follow Google’s documented ad-destination testing sequence. Google documents this override for checking ad landing pages, not as a method for obtaining a definitive Search results page. See Google Ads Help: Override user agent with Chrome DevTools.
  4. With the override active, navigate to the Google search URL for your query or reload it. For example, use https://www.google.com/search?q=browser+user+agent. The search URL applies the same override to a SERP capture; it is not the ad-destination use case described by Google.
  5. Capture the page using Chrome’s screenshot capability or your operating system’s screenshot tool. If you need a full-page capture, use DevTools’ command menu and choose the full-size screenshot option where available.
  6. Save the query, capture time, Chrome version, viewport dimensions, locale, UA, and any device-emulation settings alongside the image if you will compare it later.

AdsBot strings are for ad checks

Google Ads Help gives desktop and mobile AdsBot examples for testing ad destinations. The desktop example is AdsBot-Google (+http://www.google.com/adsbot.html). Its mobile example is Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/W.X.Y.Z Mobile Safari/537.36 (compatible; AdsBot-Google-Mobile; +http://www.google.com/mobile/adsbot.html). These identify AdsBot in the ad-checking context; do not describe them as Google Search crawler identities or assume that using one makes the resulting SERP canonical.

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.

Automate the capture with Puppeteer

Puppeteer controls Chrome or Firefox and can save full-page or element screenshots. The example below sets the viewport and UA before navigation, requests a Google search URL, waits for the page’s load event, then saves a full-page PNG. It is a general browser-automation pattern, not a tested or guaranteed Google-specific script. Google may show consent screens, challenges, or other content instead of results.

#1 Best Overall
Sale
Logitech M185 Compact Ambidextrous 2.4 GHz Wireless Mouse - Swift Grey
  • Compact Mouse: With a comfortable and contoured shape, this Logitech ambidextrous wireless mouse feels great in either right or left hand and is far superior to a touchpad
  • Durable and Reliable: This USB wireless mouse features a line-by-line scroll wheel, up to 1 year of battery life (2) thanks to a smart sleep mode function, and comes with the included AA battery
  • Universal Compatibility: Your Logitech mouse works with your Windows PC, Mac, or laptop, so no matter what type of computer you own today or buy tomorrow your mouse will be compatible
  • Plug and Play Simplicity: Just plug in the tiny nano USB receiver and start working in seconds with a strong, reliable connection to your wireless computer mouse up to 33 feet / 10 m (5)
  • Better than touchpad: Get more done by adding M185 to your laptop; according to a recent study, laptop users who chose this mouse over a touchpad were 50% more productive (3) and worked 30% faster (4)

Install and run

With Node.js installed, create a project and add Puppeteer:

npm init -y
npm install puppeteer

Save this as serp-screenshot.js, replacing the example UA with the exact string for your test:

Rank #2
Sale
Logitech G305 Lightspeed Wireless Gaming Mouse - Black
  • The next-generation optical HERO sensor delivers incredible performance and up to 10x the power efficiency over previous generations, with 400 IPS precision and up to 12,000 DPI sensitivity
  • Ultra-fast LIGHTSPEED wireless technology gives you a lag-free gaming experience, delivering incredible responsiveness and reliability with 1 ms report rate for competition-level performance
  • G305 wireless mouse boasts an incredible 250 hours of continuous gameplay on just 1 AA battery; switch to Endurance mode via Logitech G HUB software and extend battery life up to 9 months
  • Wireless does not have to mean heavy, G305 lightweight mouse provides high maneuverability coming in at only 3.4 oz thanks to efficient lightweight mechanical design and ultra-efficient battery usage
  • The durable, compact design with built-in nano receiver storage makes G305 not just a great portable desktop mouse, but also a great laptop travel companion, use with a gaming laptop and play anywhere
const puppeteer = require('puppeteer');

(async () => {
  const query = 'browser user agent';
  const ua = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36';
  const searchUrl = `https://www.google.com/search?q=${encodeURIComponent(query)}`;
  const browser = await puppeteer.launch({ headless: true });

  try {
    const page = await browser.newPage();
    await page.setViewport({ width: 1365, height: 900, deviceScaleFactor: 1 });
    await page.setUserAgent(ua);
    await page.goto(searchUrl, { waitUntil: 'networkidle2', timeout: 60000 });
    await page.screenshot({ path: 'google-serp.png', fullPage: true });
    console.log(`Saved google-serp.png for: ${searchUrl}`);
  } finally {
    await browser.close();
  }
})();

Run it with node serp-screenshot.js. The file is written to the current working directory. Puppeteer launches headless by default; if you change to a visible browser, record that because headful and headless output can differ. For current setup and API details, consult the Puppeteer guide for Chrome and the Puppeteer documentation index.

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

Match device behavior when it matters

A UA string is a request header identifying the requesting application, operating system, vendor, or version. Chrome has reduced information in the UA string to limit passive identification; sites can also receive User-Agent Client Hints (UA-CH). Changing only the text therefore may not reproduce all request headers or a device’s rendering behavior. For a mobile-oriented comparison, set a mobile viewport and device emulation as well as the UA, and state what you configured. Chrome’s guidance explains User-Agent reduction and UA-CH.

Rank #3
Sale
Logitech M185 Compact Ambidextrous Wireless Mouse with Rubber Grips - Blue
  • Compact Mouse: With a comfortable and contoured shape, this Logitech ambidextrous wireless mouse feels great in either right or left hand and is far superior to a touchpad
  • Durable and Reliable: This USB wireless mouse features a line-by-line scroll wheel, up to 1 year of battery life (2) thanks to a smart sleep mode function, and comes with the included AA battery
  • Universal Compatibility: Your Logitech mouse works with your Windows PC, Mac, or laptop, so no matter what type of computer you own today or buy tomorrow your mouse will be compatible
  • Plug and Play Simplicity: Just plug in the tiny nano USB receiver and start working in seconds with a strong, reliable connection to your wireless computer mouse up to 33 feet / 10 m (5)
  • Better than touchpad: Get more done by adding M185 to your laptop; according to a recent study, laptop users who chose this mouse over a touchpad were 50% more productive (3) and worked 30% faster (4)

Interpret and preserve the screenshot carefully

  • It is a session record: the image shows what that browser rendered at that time, for that query and context. It does not establish that every searcher sees the same results or that a particular result position is universal.
  • Keep comparison metadata: retain the query, timestamp, browser/version, viewport, locale, UA, emulation settings, and headful/headless mode with each capture.
  • Do not overstate what UA changes do: an override changes the browser’s UA identification, but does not by itself make the browser identical to a crawler or fully emulate a device.
  • Present authentic images accurately: Google’s Search screenshot guidelines say not to alter the interface or manufacture, remove, or alter autocomplete suggestions or results in screenshots presented as Google Search. Label explanatory overlays clearly. The guidelines also say not to embed, frame, mirror, or duplicate Google Search in an application; they point to Programmable Search Engine for an approved integration option. This summarizes brand-use guidance, not a complete legal analysis.

Troubleshooting

The page still looks like the default browser or device

Confirm Use browser default is cleared and that the override was set before the request. If the goal is mobile rendering, a mobile UA alone is insufficient: configure device emulation and viewport, and consider UA-CH.

Puppeteer times out waiting for network idle

Google pages may keep network activity open, so a network-idle condition can fail to arrive. If that happens, use a less restrictive navigation condition such as domcontentloaded, then wait for a short, explicit delay before taking the screenshot. Treat the delay as a capture choice, not proof that every result element has finished loading.

Rank #4
Amazon Basics 3-Button USB Wired Mouse with Responsive Tracking, Plug & Play, Compatible with Windows and Mac, Black
  • Computer mouse for easily navigating a computer interface; click, scroll, and more
  • USB-A wired connection; if existing device only supports USB-C, an additional adapter will be required
  • High-definition (1000 dpi) optical tracking ensures responsive cursor control for precise tracking and easy text selection
  • 3 buttons offer effortless fingertip control
  • Plug-and-go ready for instant use

The image shows a consent screen, challenge, or unexpected page

Save what the browser actually displayed and note the state. A custom UA is not a guarantee against challenges or consent screens, and the capture should not be presented as a normal results page if it is not one.

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

Two captures differ even though the UA matches

Compare query spelling, time, locale, viewport, browser version, device settings, cache state, and headful/headless mode. A matching UA string does not make two sessions identical, and a screenshot cannot prove a universal ranking.

Best Value
Sale
Acer Wireless Mouse for Laptop, 2.4GHz Computer Mouse 3 Adjustable 1600 DPI
  • 【Plug and Play for Home/Office/School】The wireless computer mouse features 2.4GHz connectivity, delivering a stable, interference-free connection up to 32ft. Designed for 𝐦𝐞𝐝𝐢𝐮𝐦 𝐭𝐨 𝐥𝐚𝐫𝐠𝐞 𝐬𝐢𝐳𝐞𝐝 𝐡𝐚𝐧𝐝𝐬, it ensures comfortable use all day. Simply plug in the USB-A receiver for instant pairing—no drivers needed. 📌📌 If the mouse isn’t suitable, place the USB receiver in the battery compartment and return both.
  • 【3 Levels Adjustable DPI】This travel USB mouse offers 3 adjustable DPI settings (800, 1200, 1600), allowing you to customize sensitivity for precise design work. Effortlessly switch to match your task and elevate your productivity. 📌 Please remove the film at the bottom of the mouse before use.
  • 【Effortless Browsing】Equipped with forward and backward buttons, this computer mice streamlines your workflow, making it easy to navigate through web pages and files with a simple click. 📌Side button does not work on Mac.
  • 【Visible Indicator Light】 The pc mouse features a visual indicator for DPI levels and low battery alerts. The red light flashes once for 800 DPI, twice for 1200 DPI, and three times for 1600 DPI. When the battery level is below 10%, the light flashes red until the mouse is completely out of power.
  • 【Click to Wake】With smart sleep mode, it saves power by standby after 10 inactive minutes, just 2-3 clicks to wake. This efficient design delivers 3x longer battery life than motion-wake mice. Engineered for durability, its buttons and scroll wheel are tested for 10 million clicks, ensuring long-term reliability and consistent performance.
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 can capture a URL through one GET request, including a Google search URL. It accepts custom user-agent settings and returns an image or PDF; it still records a particular rendered capture, not a universal SERP. Its clean-shot steps accept consent banners and remove known consent platforms, newsletter popups, and chat widgets before capture, and each step can be turned off. Bot checks, blank pages, timeouts, failed loads, and cache hits are not billed, with response headers indicating the page verdict and billing status. Its MCP server provides screenshot tools for AI agents.

For the search URL below, replace the example query as needed. Add your API key and consult the ScreenshotNeo API documentation for request options, including the custom UA parameter.

curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://www.google.com/search?q=browser+user+agent -o shot.webp

The Free plan includes 1,000 screenshots a month with no card; paid plans start at $5 for 3,000. Sign up free for ScreenshotNeo.

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

Frequently Asked Questions

Does changing the User-Agent make Chrome identical to a Google crawler?

No. The UA string is only one part of browser identification; request headers, client hints, browser behavior, and device settings can differ.

Can a SERP screenshot prove my ranking for every searcher?

No. It documents one rendered page under one query and session context, not a universal result set.

Quick Recap

SaleBestseller No. 1
Logitech M185 Compact Ambidextrous 2.4 GHz Wireless Mouse - Swift Grey
Logitech M185 Compact Ambidextrous 2.4 GHz Wireless Mouse - Swift Grey
Product carbon footprint: 3.97 kg CO2e; Contoured shape: Gives you more comfort and control
$14.85
SaleBestseller No. 3
Bestseller No. 4
Amazon Basics 3-Button USB Wired Mouse with Responsive Tracking, Plug & Play, Compatible with Windows and Mac, Black
Amazon Basics 3-Button USB Wired Mouse with Responsive Tracking, Plug & Play, Compatible with Windows and Mac, Black
Computer mouse for easily navigating a computer interface; click, scroll, and more; 3 buttons offer effortless fingertip control
$9.70

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
Outdated Drivers Are Slowing You DownFree scan - exact matches
PC Slower Than It Used to Be?Free scan - under a minute

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.