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

To screenshot an internal webpage, run the browser that captures it somewhere that can resolve and connect to the page—usually a worker inside the same private network, VPC, or an approved connected segment. A public screenshot API cannot reach an intranet hostname, localhost, or private IP just because you pass that address in a URL. Use a hosted API only if its provider documents a supported private-network connection.

Why a public screenshot API usually cannot capture an internal page

A screenshot API renders a page from the network where its browser runs. If that browser cannot resolve your internal hostname or route to its private IP, it cannot load the page. Supplying an internal URL does not extend your network to the vendor.

This applies to intranet pages and development addresses such as localhost: localhost means the machine making the request, so a hosted renderer’s localhost is not your computer’s. The reviewed documentation does not establish a managed screenshot provider with a customer-side agent or other explicit private-network connection. Before choosing one, verify its network model, authentication support, data retention, and deployment model directly with the provider.

Choose where the browser will run

Approach When it fits Main constraint
Browser worker inside the private network The page is internal-only, or policy requires capture to remain within your network boundary. Your team operates the browser runtime, scaling, updates, isolation, and result storage.
Managed screenshot API The target is public, or the provider explicitly supports private connectivity. A URL parameter alone provides no private-network reachability. Verify connectivity and security details with the provider.
Remote Playwright browser in a container or separate worker Your application should call a browser service through a controlled internal API. The browser container needs the correct DNS and network route, and its browser runtime must match the client.

These are operational trade-offs, not benchmark results: comparable latency, throughput, and cost figures are not established here. Playwright’s Docker documentation describes container-to-host access configuration, but the container still needs an appropriate route to the target network: Playwright Docker documentation.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#1 Best Overall
Sale
TP-Link AX1800 WiFi 6 Router (Archer AX21 V5)
  • DUAL-BAND WIFI 6 ROUTER: Wi-Fi 6(802.11ax) technology achieves faster speeds, greater capacity and reduced network congestion compared to the previous gen. All WiFi routers require a separate modem. Dual-Band WiFi routers do not support the 6 GHz band.
  • AX1800: Enjoy smoother and more stable streaming, gaming, downloading with 1.8 Gbps total bandwidth (up to 1200 Mbps on 5 GHz and up to 574 Mbps on 2.4 GHz). Performance varies by conditions, distance to devices, and obstacles such as walls.
  • CONNECT MORE DEVICES: Wi-Fi 6 technology communicates more data to more devices simultaneously using revolutionary OFDMA technology
  • EXTENSIVE COVERAGE: Achieve the strong, reliable WiFi coverage with Archer AX1800 as it focuses signal strength to your devices far away using Beamforming technology, 4 high-gain antennas and an advanced front-end module (FEM) chipset
  • OUR CYBERSECURITY COMMITMENT: TP-Link is a signatory of the U.S. Cybersecurity and Infrastructure Security Agency’s (CISA) Secure-by-Design pledge. This device is designed, built, and maintained, with advanced security as a core requirement.

Build a controlled Playwright capture service

Place a worker where it can reach the target application, then expose a narrow internal endpoint that accepts authorized capture requests. The example below uses Node.js and Playwright to navigate to a URL and return a full-page PNG. Install Playwright and its browser in the worker image, then adapt the endpoint framework and authorization to your environment.

import express from 'express';
import { chromium } from 'playwright';

const app = express();
app.use(express.json({ limit: '16kb' }));

// Replace with your own approved application hosts.
const allowedHosts = new Set(['app.internal.example']);

app.post('/capture', async (req, res) => {
  const rawUrl = req.body?.url;
  let target;

  try {
    target = new URL(rawUrl);
  } catch {
    return res.status(400).json({ error: 'Provide a valid URL.' });
  }

  if (target.protocol !== 'https:' || !allowedHosts.has(target.hostname)) {
    return res.status(400).json({ error: 'URL is not allowed.' });
  }

  const browser = await chromium.launch({ headless: true });
  try {
    const context = await browser.newContext();
    const page = await context.newPage();
    const response = await page.goto(target.href, {
      waitUntil: 'networkidle',
      timeout: 30000
    });

    if (!response || !response.ok()) {
      return res.status(502).json({
        error: 'Target did not return a successful document response.',
        status: response?.status() ?? null
      });
    }

    const image = await page.screenshot({ fullPage: true, type: 'png' });
    res.set('Content-Type', 'image/png');
    res.set('X-Target-Status', String(response.status()));
    return res.send(image);
  } catch (error) {
    return res.status(502).json({ error: 'Capture failed.' });
  } finally {
    await browser.close();
  }
});

app.listen(3000, '127.0.0.1');

Run this behind your normal internal authentication and network controls. The sample is a starting point, not a complete security boundary: add request authorization, rate limits, structured logging that avoids secrets, and lifecycle management appropriate to your service. Playwright’s screenshot API supports image bytes or file output, including full-page captures: Playwright screenshots.

Rank #2
Sale
TP-Link AC1200 WiFi Router Dual Band Wireless Internet Router (Archer A54)
  • Dual-band Wi-Fi with 5 GHz speeds up to 867 Mbps and 2.4 GHz speeds up to 300 Mbps, delivering 1200 Mbps of total bandwidth¹. Dual-band routers do not support 6 GHz. Performance varies by conditions, distance to devices, and obstacles such as walls.
  • Covers up to 1,000 sq. ft. with four external antennas for stable wireless connections and optimal coverage.
  • Supports IGMP Proxy/Snooping, Bridge and Tag VLAN to optimize IPTV streaming
  • Access Point Mode - Supports AP Mode to transform your wired connection into wireless network, an ideal wireless router for home
  • Advanced Security with WPA3 - The latest Wi-Fi security protocol, WPA3, brings new capabilities to improve cybersecurity in personal networks

Adapt the capture to the page

  • For a viewport-only image, use page.screenshot({ type: 'png' }) instead of fullPage: true.
  • For a specific element, locate it and call its screenshot method, for example await page.locator('.report').screenshot({ type: 'png' }).
  • If the application has a reliable readiness condition, wait for that condition before capturing rather than assuming navigation completion means the page is ready.
  • Check the final document response and, where useful, the expected page title or content. A login screen or application error page can still render as a valid image.

Secure the browser as an in-network service

An in-network browser can make requests from its network position. Treat arbitrary URL capture as a security-sensitive capability, not a harmless image endpoint.

  • Allow only approved schemes, hosts, and—where practical—paths. Revalidate redirects against the same policy.
  • Restrict worker egress at the network layer to the destinations it needs. Deny access to link-local and metadata endpoints, and isolate the worker from sensitive control-plane services.
  • Set navigation timeouts and limits for request size, page size, and concurrency. Authenticate callers and record enough metadata to investigate misuse without logging credentials.
  • Keep API keys and target-site credentials out of URLs and logs. The screenshot API documentation warns that query-string keys can leak through page source or server logs; it documents bearer authentication: Zyte API HTTP usage.
  • Use narrowly scoped, short-lived target credentials when authentication is needed. Playwright storage state can contain cookies and headers that impersonate a user; protect it as a secret and exclude it from source control: Playwright authentication.

The URL checks in the example are illustrative. Host allowlisting alone is not a complete defense against DNS changes, redirects, or other network-level risks; enforce the policy at both the application and network layers.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #3
Sale
NETGEAR Nighthawk WiFi 6 Router R6700AX, Up to 1,500 sq ft, 1.8 Gbps
  • NIGHTHAWK WIFI 6 ROUTER FOR YOUR WHOLE HOME: Delivers fast, reliable WiFi across every room of your apartment or small home for streaming, gaming, video calls, and smart home devices, all running at the same time without slowing each other down.
  • WORKS WITH YOUR EXISTING INTERNET SERVICE: Pairs with your existing modem or gateway via ethernet. Compatible with most cable, fiber, DSL, and satellite providers. Some gateways and modem router combos may require bridge mode. No coax needed.
  • SET UP AND MANAGE YOUR NETWORK WITH THE NIGHTHAWK APP: Download the free Nighthawk app on iOS or Android for guided setup. Manage WiFi, run speed tests, pause devices, and set up guest networks from anywhere. Active internet required.
  • READY FOR THE DEVICES YOU ALREADY OWN: Your phones, laptops, and TVs work right out of the box. WiFi 6 delivers speeds up to 1.8 Gbps across 2.4 GHz and 5 GHz bands. Backward compatible with WiFi 5 and earlier.
  • COVERAGE IN EVERY ROOM: Covers up to 1,500 sq. ft. for up to 20 connected devices. Walls, floors, and interference can reduce range. Larger or multi-story homes may benefit from a NETGEAR Orbi mesh WiFi system.

Keep captures reliable and reproducible

A successful screenshot response does not guarantee that the intended page loaded. The target may return a login or error page that the browser can capture. Record the final response status and capture metadata, and check the expected title, content, or application-specific readiness condition.

Pin the Playwright package, matching browser binaries, and container or operating-system image. Playwright documents that browser binaries are version-specific, and visual output may vary with operating system, browser version, settings, hardware, and headless mode. Keep the runtime consistent with the environment used for visual comparisons: Playwright browser management.

Rank #4
TP-Link BE6500 Dual-Band WiFi 7 Router (BE400)
  • 𝐅𝐮𝐭𝐮𝐫𝐞-𝐑𝐞𝐚𝐝𝐲 𝐖𝐢-𝐅𝐢 𝟕 - Designed with the latest Wi-Fi 7 technology, featuring Multi-Link Operation (MLO), Multi-RUs, and 4K-QAM. Achieve optimized performance on latest WiFi 7 laptops and devices, like the iPhone 16 Pro, and Samsung Galaxy S24 Ultra.
  • 𝟔-𝐒𝐭𝐫𝐞𝐚𝐦, 𝐃𝐮𝐚𝐥-𝐁𝐚𝐧𝐝 𝐖𝐢-𝐅𝐢 𝐰𝐢𝐭𝐡 𝟔.𝟓 𝐆𝐛𝐩𝐬 𝐓𝐨𝐭𝐚𝐥 𝐁𝐚𝐧𝐝𝐰𝐢𝐝𝐭𝐡 - Achieve full speeds of up to 5764 Mbps on the 5GHz band and 688 Mbps on the 2.4 GHz band with 6 streams. Enjoy seamless 4K/8K streaming, AR/VR gaming, and incredibly fast downloads/uploads.
  • 𝐖𝐢𝐝𝐞 𝐂𝐨𝐯𝐞𝐫𝐚𝐠𝐞 𝐰𝐢𝐭𝐡 𝐒𝐭𝐫𝐨𝐧𝐠 𝐂𝐨𝐧𝐧𝐞𝐜𝐭𝐢𝐨𝐧 - Get up to 2,400 sq. ft. max coverage for up to 90 devices at a time. 6x high performance antennas and Beamforming technology, ensures reliable connections for remote workers, gamers, students, and more.
  • 𝐔𝐥𝐭𝐫𝐚-𝐅𝐚𝐬𝐭 𝟐.𝟓 𝐆𝐛𝐩𝐬 𝐖𝐢𝐫𝐞𝐝 𝐏𝐞𝐫𝐟𝐨𝐫𝐦𝐚𝐧𝐜𝐞 - 1x 2.5 Gbps WAN/LAN port, 1x 2.5 Gbps LAN port and 3x 1 Gbps LAN ports offer high-speed data transmissions.³ Integrate with a multi-gig modem for gigplus internet.
  • 𝐎𝐮𝐫 𝐂𝐲𝐛𝐞𝐫𝐬𝐞𝐜𝐮𝐫𝐢𝐭𝐲 𝐂𝐨𝐦𝐦𝐢𝐭𝐦𝐞𝐧𝐭 - TP-Link is a signatory of the U.S. Cybersecurity and Infrastructure Security Agency’s (CISA) Secure-by-Design pledge. This device is designed, built, and maintained, with advanced security as a core requirement.

Troubleshoot common capture failures

Symptom Likely cause What to check
Navigation cannot resolve the hostname The worker is using public DNS or lacks the private DNS configuration. Resolve the hostname from inside the worker or container and confirm it uses the intended private resolver.
Connection refused or timed out The worker has no route, a firewall blocks the connection, or the application is not listening on that address and port. Test connectivity from the worker’s network segment and confirm the target’s listener and firewall rules.
The screenshot shows a login page The browser is unauthenticated, or its session has expired. Use an approved authentication flow and verify the final page content; protect any saved state as a secret.
The image contains an error page despite a successful capture The browser rendered an application error or redirect destination. Inspect the final URL, response status, title, and expected application content before accepting the image.
Capture times out on a page that appears loaded A network-idle condition may never occur because the page keeps long-lived requests open. Wait for a specific selector or application-ready signal, and set a bounded timeout.
Visual comparisons differ between runs or machines The OS, browser binary, settings, hardware, or headless environment changed. Pin the runtime and use the same environment as the comparison baseline.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Or skip the browser setup

For public pages, ScreenshotNeo is a screenshot API with a one-request workflow and an MCP server for AI agents. Its hosted renderer does not gain access to a private network just because you send it an internal URL, so use the in-network Playwright approach above for internal-only targets unless a supported private connection is available.

For a reachable public page, this cURL call returns a WebP image. See the ScreenshotNeo documentation for the API details.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Best Value
TP-Link AC1200 Gigabit Dual Band WiFi Router (Archer A6)
  • Dual band router upgrades to 1200 Mbps high speed internet (300mbps for 2.4GHz plus 900Mbps for 5GHz), reducing buffering and ideal for 4K stream
  • Full Gigabit Ports - Gigabit Router with 4 Gigabit LAN ports, ideal for any internet plan and allow you to directly connect your wired devices
  • Boosted Coverage - Four external antennas equipped with Beamforming technology extend and concentrate the Wi-Fi signals
  • MU-MIMO technology - (5GHz band) allows high speeds for multiple devices simultaneously
  • Access Point Mode - Supports AP Mode to transform your wired connection into wireless network, an ideal wireless router for home
curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://stripe.com -o shot.webp
  • It 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, blank pages, timeouts, failed loads, and cache hits are not billed; response headers identify the page verdict and billing status.
  • Its MCP server provides take_screenshot, get_page_info, and capture_pdf tools for Claude, Cursor, and other MCP clients.
  • The free plan includes 1,000 shots per month with no card; paid plans start at $5 for 3,000 shots. Every feature is available on every plan.

Sign up for ScreenshotNeo’s free plan to get 1,000 screenshots a month with no card.

Frequently Asked Questions

Can a hosted screenshot API capture localhost?

Not your computer’s localhost. In a hosted renderer, localhost refers to the renderer’s own machine. Use a browser running on a machine that can reach your local or private application.

Can I capture a private page through a VPN?

Only if the machine running the browser is connected to the VPN and its DNS and routes allow access to the page. A hosted renderer does not inherit your VPN connection automatically.

Quick Recap

SaleBestseller No. 1
TP-Link AX1800 WiFi 6 Router (Archer AX21 V5)
TP-Link AX1800 WiFi 6 Router (Archer AX21 V5)
VPN SERVER: Archer AX21 Supports both Open VPN Server and PPTP VPN Server
$59.98
SaleBestseller No. 2
TP-Link AC1200 WiFi Router Dual Band Wireless Internet Router (Archer A54)
TP-Link AC1200 WiFi Router Dual Band Wireless Internet Router (Archer A54)
Supports IGMP Proxy/Snooping, Bridge and Tag VLAN to optimize IPTV streaming
$24.32
Bestseller No. 5
TP-Link AC1200 Gigabit Dual Band WiFi Router (Archer A6)
TP-Link AC1200 Gigabit Dual Band WiFi Router (Archer A6)
MU-MIMO technology - (5GHz band) allows high speeds for multiple devices simultaneously
$44.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.

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