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

For a straightforward batch, use shot-scraper with a YAML file of URL and output-file pairs, then pass --user-agent to shot-scraper multi. For a scripted workflow with per-page logic, use Playwright: set userAgent on a browser context, visit each URL, and save a screenshot. A user-agent override alone does not reproduce a complete phone or tablet; set the viewport and other device properties you need as well.

Choose a bulk screenshot method

Both approaches can capture multiple URLs with a custom user agent. Choose based on how much control the job needs:

Need Playwright shot-scraper
Describe the batch Write a job list and loop in code. List jobs in YAML.
Set the user agent Set userAgent when creating a browser context. Pass --user-agent TEXT to the multi command.
Per-page logic or interactions Use browser automation APIs directly. Use supported YAML options such as JavaScript and wait conditions.
Best fit Custom scripts and page-specific behavior. Declarative batches with minimal code.

Playwright documents its Page API and screenshot options, while shot-scraper documents the project and command-line tooling.

Bulk capture with shot-scraper

1. Define URLs and output filenames

Create a YAML file such as shots.yml. Give each URL a distinct output path to avoid collisions:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#1 Best Overall
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
- output: example-home.png
  url: https://example.com/
- output: example-docs.png
  url: https://example.org/docs/

2. Run the batch with a custom user agent

Pass the desired string to --user-agent:

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

Replace the example string with the exact user-agent value you need to test. 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 batch syntax and flag are described in shot-scraper’s multi-screenshot guide.

3. Set consistent capture conditions

For comparisons, keep the viewport dimensions, wait behavior, and other capture settings consistent across jobs. shot-scraper’s multi configuration supports width, height, wait, and wait-for settings. Consult the documentation for the options supported by your installed version, particularly if you need full-page output rather than a viewport capture.

4. Make reruns and failures intentional

The multi command documents controls including --no-clobber to skip existing output files, -o to choose configured outputs, --timeout to set a time limit, and --fail and --skip for HTTP errors. Choose failure behavior based on how the batch will be consumed: silently omitting a failed page can leave a misleadingly incomplete result, while stopping on errors makes failures more visible.

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

Bulk capture with Playwright

Playwright is a better fit when pages need different waits, interactions, or other per-URL handling. This JavaScript pattern creates a context with one user agent, opens each URL, and writes a full-page screenshot:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
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();

This pattern assumes you have already launched a Playwright browser and defined jobs as objects with url and path properties. It is assembled from documented Playwright APIs, not a tested, drop-in program: add error handling and site-appropriate waits for your pages. The screenshot API supports fullPage: true to capture the scrollable page rather than only the current viewport; see Playwright’s screenshot documentation.

Full page or viewport?

Use fullPage: true when the whole scrollable document is the intended artifact. Omit it when you want a consistent viewport-only view. Full-page screenshots can differ substantially in dimensions from one URL to another, so choose deliberately if the images will be compared or fed into a fixed-size workflow.

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

User agent is not full device emulation

A custom user agent can influence server-side content selection, but it does not by itself set all device characteristics. For a mobile-oriented test, configure the relevant viewport and any required screen or touch properties; Playwright’s device emulation supports those characteristics. Keep the distinction clear: a page receiving a mobile user-agent string is not necessarily being rendered as a complete mobile device.

Make the batch repeatable

  • Use explicit output names. Associate every input URL with a predictable filename and avoid duplicate paths.
  • Fix the rendering conditions. Keep viewport, browser engine, full-page choice, and wait strategy consistent when comparing screenshots.
  • Wait for the right signal. A navigation completing does not necessarily mean the content you need has appeared. Use a selector or other site-appropriate wait where necessary.
  • Record failures. Decide whether errors should stop the batch or be skipped, and check the outputs against the requested URLs.
  • Sample before expanding the list. Test pages with different layouts and loading behavior before committing to a large batch.

These controls improve consistency, but they cannot guarantee identical rendering across sites: pages may return different content or load differently under the chosen user agent and conditions.

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

Troubleshooting

The shot-scraper command rejects an option

CLI syntax is version-sensitive. Check the installed command’s help output, including shot-scraper multi --help, and use the documentation for the version installed rather than assuming a flag from another release applies.

Rank #4
Sale
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.

A page is blank, incomplete, or missing late-loading content

The capture may be happening before the relevant content appears. Configure an appropriate wait, delay, or wait-for condition in shot-scraper, or add a site-specific wait in Playwright before calling page.screenshot(). Avoid applying one arbitrary delay to every site if the pages have different loading behavior.

The output does not look like the expected phone view

Check more than the user-agent string. Set the intended viewport and any screen or touch settings needed for the test. A user-agent override is not a complete device profile.

A screenshot is missing after a batch run

Check whether the URL failed, timed out, or returned an HTTP error, and whether the chosen --fail or --skip behavior affected the result. Also check whether --no-clobber skipped an existing file or -o selected a narrower set of outputs than expected.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
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

Playwright stops partway through the list

The example loop does not include per-URL error handling. In a production script, catch failures for individual jobs, record the URL and error, and decide whether to continue or stop. Give each job a distinct output path so a successful page cannot overwrite another page’s 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 can capture a URL through a single API request, returning an image or PDF. For example, this cURL request saves a WebP screenshot:

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 request options. ScreenshotNeo removes cookie and consent banners, newsletter popups, and chat widgets before capture; those cleanup steps can be turned off. Bot checks or CAPTCHAs, blank pages, timeouts, failed loads, and cache hits are not billed, and response headers identify the page verdict and billing status. Its MCP server provides screenshot tools for AI agents, and the API also supports bulk capture of up to 100 URLs per call. The user-agent override workflow in this guide is for shot-scraper or Playwright; check the API documentation for ScreenshotNeo’s supported request options before relying on a particular setting.

ScreenshotNeo’s Free plan includes 1,000 screenshots per month with no card; paid plans start at $5 for 3,000 screenshots. Sign up for free and try ScreenshotNeo.

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

Frequently Asked Questions

Can I use a different user agent for each URL in one batch?

The shot-scraper command described here sets the user agent for the multi command. For per-page user-agent logic, use a scripted Playwright workflow and configure contexts as needed.

Does a full-page screenshot include content that loads only after scrolling?

Full-page capture targets the scrollable page, but sites that lazy-load content may need additional scrolling or waiting behavior. Check the rendered result on representative pages.

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.99
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
$10.99

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.