DriversRecommendedOutdated drivers can make a good PC feel brokenScan driver issues before chasing fixes manually.Scan NowOctober 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 Scan×
Skip to content
World desk4 min

How to Bulk Screenshot Websites with a Custom Browser User Agent

Set a custom browser user agent for a batch of website screenshots using shot-scraper YAML or a Playwright loop, with tips for repeatable output and failures.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

For a configurable batch, use shot-scraper with a YAML list of URL and output-file pairs, then pass --user-agent to shot-scraper multi. Choose Playwright instead when you need a scripted loop, per-page logic, or browser interactions. Both let you set the user agent used for navigation and capture.

Choose a bulk screenshot method

Need Playwright shot-scraper
Describe the batch Write a job list and loop in code. Define screenshot jobs in YAML.
Set a custom user agent Set userAgent when creating a browser context. Pass --user-agent TEXT to the multi command.
Per-page behavior Use browser automation APIs directly. YAML options include JavaScript and wait conditions.
Best fit Custom automation and page-specific handling. A declarative batch you can run from the command line.

Both tools are documented for these workflows: see the shot-scraper project documentation and Playwright’s screenshot documentation.

As an Amazon Associate I earn from qualifying purchases.

Bulk screenshots with shot-scraper

Use a YAML file to pair each page with an explicit output filename. For example, save this as shots.yml:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
- output: example-home.png
  url: https://example.com/
- output: example-docs.png
  url: https://example.org/docs/

Run the batch with a custom user agent:

shot-scraper multi shots.yml --user-agent 'Example User Agent'

The user-agent option applies to the multi command. CLI options can vary by installed version, so check shot-scraper multi --help if the command is rejected or behaves differently than expected. The documented multi command also provides controls for width, height, waits, HTTP errors, timeouts, and output handling.

#1 Best Overall
Sale
TP-Link AC600 USB WiFi Adapter for Desktop PC - USB Wireless Adapter for PC
  • 𝐋𝐨𝐧𝐠 𝐑𝐚𝐧𝐠𝐞 𝐀𝐝𝐚𝐩𝐭𝐞𝐫 – This compact USB Wi-Fi adapter provides long-range and lag-free connections wherever you are. Upgrade your PCs or laptops to 802.11ac standards which are three times faster than wireless N speeds.
  • 𝐒𝐦𝐨𝐨𝐭𝐡 𝐋𝐚𝐠 𝐅𝐫𝐞𝐞 𝐂𝐨𝐧𝐧𝐞𝐜𝐭𝐢𝐨𝐧𝐬 – Get Wi-Fi speeds up to 200 Mbps on the 2.4 GHz band and up to 433 Mbps on the 5 GHz band for upgraded web surfing, gaming, and streaming. Performance varies by conditions, distance to devices, and obstacles such as walls.
  • 𝐃𝐮𝐚𝐥-𝐛𝐚𝐧𝐝 𝟐.𝟒 𝐆𝐇𝐳 𝐚𝐧𝐝 𝟓 𝐆𝐇𝐳 𝐁𝐚𝐧𝐝𝐬 – Dual-bands provide flexible connectivity, giving your devices access to the latest routers for faster speeds and extended range. Wireless Security - WEP, WPA/WPA2, WPA-PSK/WPA2-PSK
  • 𝟓𝐝𝐁𝐢 𝐇𝐢𝐠𝐡 𝐆𝐚𝐢𝐧 𝐀𝐧𝐭𝐞𝐧𝐧𝐚 – The high gain antenna of the Archer T2U Plus greatly enhances the reception and transmission of WiFi signal strengths.
  • 𝐀𝐝𝐣𝐮𝐬𝐭𝐚𝐛𝐥𝐞, 𝐌𝐮𝐥𝐭𝐢-𝐃𝐢𝐫𝐞𝐜𝐭𝐢𝐨𝐧𝐚𝐥 𝐀𝐧𝐭𝐞𝐧𝐧𝐚: Rotate the multi-directional antenna to face your router to improve your experience and performance

Make batch behavior predictable

  • Use a distinct output path for every URL so one capture does not overwrite another.
  • Keep width, height, wait behavior, and full-page or viewport capture consistent when comparing pages.
  • Use --timeout to limit how long a capture can take.
  • Choose --fail or --skip deliberately for HTTP errors so missing captures are visible or intentionally omitted.
  • Use --no-clobber to skip output files that already exist, or -o to select particular configured outputs.
  • Inspect a few captures before running a larger batch; different sites may respond differently to the same user agent or wait settings.

See the shot-scraper multi screenshots guide for the documented configuration and command options.

Bulk screenshots with Playwright

For a custom script, create one browser context with the desired user agent and viewport, then use it for each page. This illustrative JavaScript pattern follows Playwright’s documented context, navigation, and screenshot APIs; add site-appropriate waits and error handling for your batch:

Rank #2
Sale
TP-Link AC1300 USB WiFi Adapter for Desktop PC 2.4/5G Dual Band WiFi Dongle
  • AC1300 Dual Band Wi-Fi Adapter for PC, Desktop and Laptop. Archer T3U provides 2.4G/5G strong high speed connection throughout your house.
  • Archer T3U also provides MU-MIMO, which delivers Beamforming connection for lag-free Wi-Fi experience.
  • Usb 3.0 provides 10x faster speed than USB 2.0, along with mini and portable size that allows the user to carry the device everywhere.
  • World's 1 provider of consumer Wi-Fi for 7 consecutive years - according to IDC Q2 2018 report
  • Supports Windows 11, 10, 8.1, 8, 7, XP/ Mac OS X 10.9-10.14
const context = await browser.newContext({
  userAgent: 'Example User Agent',
  viewport: { width: 1440, height: 900 },
});

for (const { url, path } of jobs) {
  const page = await context.newPage();
  await page.goto(url);
  await page.screenshot({ path, fullPage: true });
  await page.close();
}

await context.close();

Each job needs a URL and a unique output path, for example { url: 'https://example.com/', path: 'example-home.png' }. fullPage: true captures the scrollable page rather than only the current viewport; omit it when you want a viewport-sized screenshot. See Playwright’s Page API documentation.

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

Add waits and error handling for real pages

A bare navigation may finish before a site’s important content is ready, or it may fail. Choose a wait condition that matches the page rather than assuming every site loads the same way. For larger jobs, handle navigation and screenshot errors per URL, record failures alongside their URLs, and continue only if that is the behavior you want. Close each page after capture and the context when the batch is complete.

Rank #3
Sale
TP-Link Nano AC600 USB WiFi Adapter for Desktop PC- 2.4G/5G Dual Band
  • AC600 Nano size wireless Dual band USB Wi-Fi adapter for fast and high speed Wi-Fi connection.
  • Strong 2.4G/5G connection allows the user to use the Internet with lag-free experience.
  • Sleek and miniature sized design allows the user to plug and leave the device in it's place.
  • Industry leading support: 2-year and free 24/7 technical support
  • This network transceiver supports Windows 11, 10, 8.1, 8, 7, XP/ Mac OS X 10.9-10.14

A custom user agent is not full device emulation

A user-agent string can influence what a server returns, but changing it alone does not set every browser or device characteristic. If the purpose is to capture a mobile layout, also configure the relevant viewport, screen size, and touch behavior—or use an appropriate device profile. Keep the browser engine and these settings consistent across a comparison batch.

Troubleshooting bulk captures

  • The CLI rejects --user-agent: Check shot-scraper multi --help for the installed version’s syntax, and confirm the option is placed on the multi command.
  • A screenshot is missing: Check the URL, output path, timeout, and HTTP-error behavior. With --skip, failed pages may be omitted by design; use a visible failure mode if the batch must be audited.
  • Several pages appear in one output or replace each other: Give each YAML job a unique output filename. Use --no-clobber when existing files should not be replaced.
  • The page looks like desktop despite a mobile user agent: Set the viewport and other needed device characteristics; the user agent by itself does not configure them.
  • Content is absent or incomplete: Add a wait condition suited to the site and review whether you need a full-page capture. A consistent wait improves comparability but does not guarantee identical rendering across unrelated sites.
  • The Playwright loop stops on one page: Catch navigation or capture errors per job if later URLs should still run, and log which URL failed so skipped work is not mistaken for a successful screenshot.
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 for developers. Its single GET request can return an image or PDF; its cleanup options remove cookie and consent banners, newsletter popups, and chat widgets before capture. Bot checks, blank pages, failed loads, timeouts, and cache hits are not billed, and response headers report the page verdict and billing status. Its MCP server provides screenshot and PDF tools for AI agents using Claude, Cursor, or another MCP client.

For a basic capture, use cURL:

curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://example.com -o shot.webp

See the ScreenshotNeo API documentation for authentication, image formats, batch captures, and the other capture options. The Free plan includes 1,000 screenshots per month with no card; paid plans start at $5 for 3,000. Sign up for 1,000 free screenshots a month, with no card required.

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

Quick Recap

SaleBestseller No. 2
TP-Link AC1300 USB WiFi Adapter for Desktop PC 2.4/5G Dual Band WiFi Dongle
TP-Link AC1300 USB WiFi Adapter for Desktop PC 2.4/5G Dual Band WiFi Dongle
Supports Windows 11, 10, 8.1, 8, 7, XP/ Mac OS X 10.9-10.14
$15.96
SaleBestseller No. 3
TP-Link Nano AC600 USB WiFi Adapter for Desktop PC- 2.4G/5G Dual Band
TP-Link Nano AC600 USB WiFi Adapter for Desktop PC- 2.4G/5G Dual Band
Strong 2.4G/5G connection allows the user to use the Internet with lag-free experience.; Industry leading support: 2-year and free 24/7 technical support
$12.99
Best Value
UGREEN WiFi Adapter for Desktop PC, AX900 USB WiFi 6 Adapter
  • Wifi 6 High-speed Transmission: The WiFi adapter supports the new generation of WiFi6 technology with transmission speeds of up to 600 Mbps on 5 GHz + 287 Mbps on 2.4 GHz, enabling lightning-fast transmission of video at ultra-high speed and low latency
  • Dual-band Connection: The AX900 USB WiFi adapter under the AX standard, the 5G band rate can reach 600Mbps, and the 2.4G band can reach 286Mbps. Note: Use WiFi 6 Router to achieve AX900 speed
  • Built-in Drivers for Windows 10/11: The WiFi Adapter for Desktop PC just supports Windows 10/11 which CPU architecture is X86/X64, supports CD-free installation, no need to download drivers, saving time and worry. Please note this Adapter doesn't support MacOS/Linux/Win 8, 8.1, 7, XP
  • Receive & Transmit Two in One: A desktop computer can connect to the WiFi wireless Internet by connecting it to a wireless network card. A networked computer can connect to the network card to transmit WiFi and share it with other devices
  • Stay Safe Online: The wifi dongle supports WPA-PSK, WPA2-PSK, WPA/WPA2 mixed encryption modes. Note: Make sure that the distance between the adapter and router should be within 30ft
Rank #4
Nineplus Wireless USB WiFi Adapter for PC - 1300Mbps Dual 5Dbi Antennas 5G/2.4G WiFi Adapter for Desktop PC Laptop Windows11/10/7, Wireless Adapters for Desktop Computer Network Adapters
  • Fast 1300Mbps USB WiFi Adapter - Nineplus wifi adapter provides long-range and stable wifi connections,Upgrade your desktop or laptop wifi Technology with our AC1300Mbps usb wireless Adapter. Whether your desktop pc's wifi usb is malfunctioning or you’re looking to upgrade to faster dual-band 5GHz and 2.4GHz speeds, this pc wifi adapter is the ideal choice. It’s a budget-friendly way to extend your device’s life and experience the benefits of modern WiFi technology
  • Dual-band 5.8GHz and 2.4GHz Bands - 5.8Ghz wifi Connection speed up to 867Mbps,2.4GHz 400Mbps,With these upgraded speeds, web surfing, gaming, and streaming online meeting is much more enjoyable without buffering or interruptions,Experience the High Wi-Fi speed of our AC1300Mbps wifi dongle delivers faster internet speeds and stronger, more reliable signal penetration over long distances. It's a high-speed dual-band wifi usb adapter for pc and easy for the modern user.
  • Two 5dBi High Gain Wifi Antenna – The high gain antenna of the desktop wifi adapter greatly enhances the reception and transmission of WiFi signal strengths.Equipped with dual high-gain pc wifi antenna, our wifi dongle for desktop pc ensures accurate capture of WiFi signals, providing a stable and strong connection even at greater distances, ideal for overcoming poor signal issues in bedrooms. This computer wifi adapter, wifi card, and usb wifi antenna extend your coverage.
  • Super Speed USB 3.0 - wifi adapter for desktop pc Connect speeds Up to 10x faster than USB 2.0 USB, Super USB3.0 delivers faster data transfer, a more reliable network connection, and improved compatibility for wifi adapter for pc. It fully supports the high-speed demands of AC1300 wireless adapter, ensuring peak performance. Plus, it's backward compatible with standard USB 2.0 ports for added flexibility.usb wifi adapter for desktop pc 3.0
  • Compatibility Systems: This Wi-Fi usb adapter is compatible with Windows11/10/8.1/8/7/XP,not supports Mac OS or Chromebook or Linux. Most Windows 11/10 systems will automatically detect and install the drivers. If the system does not detect the driver, you will need to download it from our website. For Windows 7, you will need to manually install the driver for this wifi card.or you go to the website online-setup support,we do online-setup for you.

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