Yes—you can capture an intranet or localhost page without publishing it to the internet. The screenshot must be taken by a browser that can reach the page: a workstation on the intranet, the development computer running the local server, or a phone connected through a configured port forward. Use the browser’s own capture tools for a one-off record, Playwright or Puppeteer for repeatable work, and Chrome’s Android port forwarding when a phone must view a computer’s localhost site.
Choose the capture method first
| Need | Best fit | What it captures |
|---|---|---|
| One screenshot of the page as you see it | Browser or DevTools | The current viewport or a DevTools capture during loading |
| A repeatable build or test artifact | Playwright | Viewport, one element, or the full scrollable page |
| Chrome-specific automation | Puppeteer | Full pages or selected elements in automated Chrome or Firefox |
| View a computer’s localhost site on Android | Chrome DevTools port forwarding | The forwarded development-server port on the phone |
Access is the first constraint. The browser must already have the required intranet route, VPN connection, DNS resolution, firewall permission, and login session. A screenshot library does not bypass those controls.
Capture an intranet or localhost page manually
Use the browser that already has access
- Connect the computer to the corporate network or VPN required by the site.
- Open the intranet hostname or local address in the browser that can load it. For a development server, this is commonly an address such as
http://localhost:3000. - Complete SSO, HTTP authentication, or any other sign-in in that same browser.
- Wait for the state you need: data loaded, menus expanded, or a particular error visible.
- Use the browser’s screenshot command to save the visible viewport. If you need the entire document, use the browser’s full-page capture option when available, or use the scripted method below.
Do not switch to a different browser or an online screenshot site after signing in; that other environment may not have the route or credentials.
Record the loading sequence with Chrome DevTools
DevTools can save screenshots as the page loads, which is useful when a dashboard, redirect, skeleton screen, or error appears only briefly.
Do these 3 things before closing this tab:
1Scan for outdated or missing drivers - takes under a minute2Clear out junk files and repair common Windows errors3Fix the driver behind crashes, sound loss and screen glitches#1 Best Overall
- Read Before You Buy — No Video Output: These adapters support charging and USB 2.0 data transfer, but cannot transmit video signals. Except for standard USB webcams (which use USB data only), they are not compatible with HDMI/DisplayPort cables, video-capable USB-C hubs, or docking stations with video output.
- Convert USB-A Ports to USB-C: Designed to connect USB-C earphones, cables, flash drives, card readers, and other USB-C accessories to standard USB-A ports. Plug-and-play with no drivers or software required.
- Aluminum Alloy Housing: Built with a sturdy aluminum alloy shell that aids in heat dissipation and protects against daily wear and scratches. Designed to maintain a stable and secure connection.
- Compact & Travel-Friendly: The ultra-compact design allows the adapter to stay plugged into your device without blocking adjacent ports or adding bulk, reducing wear and tear on your original USB ports.
- 12-Month Warranty: Backed by a 12-month manufacturer warranty for peace of mind. Designed to meet strict quality control standards for reliable everyday performance.
- Open DevTools and select the Network panel.
- Enable Capture screenshots in the Network panel’s capture controls.
- Reload the page while the Network panel remains focused.
- Inspect the screenshot thumbnails against the request timeline and save the frame that represents the state you need.
This mode records visual checkpoints during loading; it is different from a final full-page screenshot.
Automate captures with Playwright
Playwright is the practical choice when you need the same viewport, wait condition, and output on every run. Its screenshot API supports the visible viewport, a selected target, and a full scrollable page, with PNG, JPEG, and other output controls documented by the project.
Install and run a complete example
npm install -D playwright
npx playwright install chromium
const { chromium } = require('playwright');
(async () => {
const browser = await chromium.launch({ headless: true });
const page = await browser.newPage({
viewport: { width: 1440, height: 900 },
deviceScaleFactor: 1
});
// Replace this with an intranet hostname or localhost URL.
await page.goto('http://localhost:3000', { waitUntil: 'networkidle' });
await page.screenshot({ path: 'viewport.png' });
await page.screenshot({ path: 'full-page.png', fullPage: true });
const report = page.locator('#report');
await report.screenshot({ path: 'report-element.png' });
await browser.close();
})();
Run it with node capture.js. Headless Chromium must run on a machine that can resolve and reach the private address. For an intranet site requiring a login, create a browser context and authenticate before goto; never hard-code a password in a script committed to source control.
Rank #2
- 5-in-1 USB-C Hub: Experience comprehensive connectivity featuring a Power Delivery input, two USB-A 2.0 ports, a USB-A 3.0 port, and an HDMI port. (Note: The USB-C power delivery input port is only for connecting an external wall charger to power your laptop and cannot power peripheral devices.)
- 90W Pass-Through Charging: Achieve optimal charging with 90W pass-through power to your laptop, supported by a total input of 100W, with the hub reserving 10W for operational efficiency. (Note: Wall charger not included.)
- Quick Data Transfers: Accelerate your productivity with rapid data transfers using a high-speed 5Gbps USB 3.0 port and two 480Mbps USB 2.0 ports.
- 4K HDMI Display: Enhance your visual experience with a hub capable of delivering 4K resolution at 30Hz in both mirror and extend modes. Please note that this hub is compatible with MacBook (macOS 12 and newer), Windows 10 and 11, ChromeOS, and laptops equipped with DP Alt Mode and Power Delivery. Note: This device is not compatible with Linux.
- What You Get: Anker USB-C Hub (5-in-1, 4K HDMI), welcome guide, 18-month warranty, and our friendly customer service.
Make the capture deterministic
- Set an explicit viewport and device scale factor so pixel dimensions do not change between runs.
- Wait for a meaningful selector, such as
await page.waitForSelector('[data-ready="true"]'), instead of assuming that network idle means the application is finished. - Use
fullPage: truefor the complete scrollable document, a locator screenshot for one component, and the default screenshot for the current viewport. - Freeze dynamic content where possible: seed test data, disable animations with CSS, and use a fixed timezone or locale in the browser context.
- Save the HTML, console errors, and response status alongside the image when the screenshot is evidence for a bug.
Use Puppeteer when your automation stack is Chrome-first
Puppeteer automates Chrome and Firefox and can capture either a full page or a specific element. The same reachability rule applies: launch it on a host that can access the intranet or localhost service.
npm install puppeteer
const puppeteer = require('puppeteer');
(async () => {
const browser = await puppeteer.launch({ headless: true });
const page = await browser.newPage();
await page.setViewport({ width: 1440, height: 900, deviceScaleFactor: 1 });
await page.goto('http://localhost:3000', { waitUntil: 'networkidle0' });
await page.screenshot({ path: 'puppeteer-full.png', fullPage: true });
await page.locator('#report').screenshot({ path: 'puppeteer-element.png' });
await browser.close();
})();
Choose one framework for a project rather than maintaining two sets of waits and authentication helpers. Either can produce a reliable artifact; the important variables are the browser location, credentials, URL, and readiness condition.
View a computer’s localhost site on Android
On a phone, localhost means the phone itself. It does not mean your development computer. Chrome DevTools’ port-forwarding workflow creates a route from an Android device to a port on the connected development computer.
Rank #3
- Sleek 7-in-1 USB-C Hub: Features an HDMI port, two USB-A 3.0 ports, and a USB-C data port, each providing 5Gbps transfer speeds. It also includes a USB-C PD input port for charging up to 100W and dual SD and TF card slots, all in a compact design.
- Flawless 4K@60Hz Video with HDMI: Delivers exceptional clarity and smoothness with its 4K@60Hz HDMI port, making it ideal for high-definition presentations and entertainment. (Note: Only the HDMI port supports video projection; the USB-C port is for data transfer only.)
- Double Up on Efficiency: The two USB-A 3.0 ports and a USB-C port support a fast 5Gbps data rate, significantly boosting your transfer speeds and improving productivity.
- Fast and Reliable 85W Charging: Offers high-capacity, speedy charging for laptops up to 85W, so you spend less time tethered to an outlet and more time being productive.
- What You Get: Anker USB-C Hub (7-in-1), welcome guide, 18-month warranty, and our friendly customer service.
- Start the development server on the computer and note its listening port, such as
3000. - Connect the Android device for remote debugging and enable the device’s developer options and USB debugging as required by your organization.
- In desktop Chrome’s remote-device controls, open the port-forwarding settings.
- Add the computer’s local server port and the corresponding device port, then enable port forwarding.
- On Android Chrome, open the forwarded localhost port and verify that the page loads.
- Capture the page with Android Chrome’s screenshot command or the device’s standard screenshot shortcut.
If the site uses a local custom domain rather than a port, Chrome documents custom-domain mapping; that arrangement requires a proxy server. Port forwarding does not remove authentication, firewall, or application-level restrictions.
Diagnose blank, partial, or inconsistent captures
The page is blank or times out
- Confirm the capture process runs on the intranet or development machine, not on an unrelated cloud runner.
- Open the exact URL in the same machine’s interactive browser and check DNS, VPN, proxy, and firewall status.
- Replace a premature network-idle wait with a selector that appears only when the application is usable.
- Check browser console messages and failed network requests; a page shell can load while its API remains unreachable.
The screenshot stops before lazy content
Use a full-page capture only after scrolling or waiting for the application to load below-the-fold images. For deterministic tests, add a short, justified wait after the readiness selector and verify that image elements have completed.
SSO works manually but not in automation
Automation starts with a new browser profile. Use the framework’s supported storage-state or cookie mechanism after an authorized login, protect that state file, and refresh it when the identity provider expires it. Do not put session cookies in command-line arguments or logs.
Rank #4
- Dual Converters, Infinite Potential:Includes 2× USB C male to USB A female adapters and 2× USB A male to USB C female adapters. Perfect for a wide range of uses—tablets with Bluetooth keyboards, expand USB ports on macbook, and more. Two different converters for all your daily needs
- Next-Level 10Gbps & 3A Charging: No more slow 480Mbps, this usb to usb c adapter has a transfer speed of up to 10Gbps, allowing you to do more transferring in less time. This usb adapter fits both USB A and USB C charger, supporting up to 3A fast charging
- Upgraded Exquisite Craftsmanship: With an aluminum alloy housing and metal connector, the usbc to usb adapter is extremely durable and sturdy. Rigorously tested to withstand more than 10,000 times of plugging and unplugging, ensuring long-lasting performance
- Broad Compatible: The usb c to usb adapter widely supports all USB C/ USB A devices like laptops, tablets, cellphones, car chargers, and phone chargers. Such as compatible with MacBook Pro/Air 2023/2022, Thunderbolt 4/3 Devices,Apple MagSafe Watch 9/8/7/SE/Ultra, iPad Pro 2022/2021, Samsung Galaxy S23/S20/S10, and iPhone 17/16/15 Pro. Plug and play
- Please Note: To reach 10Gbps speed, keep the cable under 3.3 ft. For USB A Male to USB C adapters, try flipping the USB C connector. USB C Male to USB A adapters support bidirectional 10Gbps transfer within 3.3 ft
The phone cannot open the forwarded port
- Check that the server listens on the computer interface used by the forwarding configuration and is actually running.
- Verify the forwarded host and device ports match.
- Keep the USB debugging connection active and approve the device authorization prompt.
- For a custom hostname, configure the documented proxy mapping rather than expecting a raw port forward to provide DNS.
Images or fonts differ between runs
Use a fixed viewport, device scale factor, timezone, locale, and browser version. Wait for fonts and images, disable animations, and avoid capturing while a rotating carousel or live metric is changing.
Performance, reliability, and security considerations
- Scope: viewport captures are fastest; full-page and element captures require additional layout and scrolling work.
- Concurrency: limit parallel browser contexts to what the development machine and intranet can handle. Excessive parallelism can overload a fragile internal service.
- Evidence: retain the capture timestamp, URL, viewport, browser version, and commit or build identifier so another person can reproduce it.
- Secrets: use environment variables or a protected secret store for credentials, cookies, and authorization headers. Review output directories before sharing screenshots because internal data may be visible.
- Network boundaries: a VPN route or SSO session is not automatically available to a different runner, container, phone, or cloud API.
Or skip the browser setup
ScreenshotNeo provides a one-request screenshot API and an MCP server for AI agents. Use it when the target URL is reachable from its capture environment; keep the local Playwright or Puppeteer workflow for services that exist only on your private network or computer.
Its cleaner capture flow accepts consent banners and removes more than 60 known consent platforms, newsletter popups, and chat widgets before the shot; each step can be disabled. Bot checks or CAPTCHAs, blank pages, timeouts, failed loads, and cache hits are not billed, and the response identifies the result with X-Page-Verdict and X-Billed headers. The MCP tools are take_screenshot, get_page_info, and capture_pdf.
What’s actually slowing this PC down?
Pick the symptom - the matching free tool is one click away.
cURL
curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://stripe.com -o shot.webp
Python
import requests
r = requests.get("https://api.screenshotneo.com/v1/shot", params={"access_key": "YOUR_API_KEY", "url": "https://stripe.com"}, timeout=90)
r.raise_for_status()
open("shot.webp", "wb").write(r.content)
Node.js
const q = new URLSearchParams({ access_key: 'YOUR_API_KEY', url: 'https://stripe.com' });
const res = await fetch(`https://api.screenshotneo.com/v1/shot?${q}`);
if (!res.ok) throw new Error(`HTTP ${res.status}`);
const data = Buffer.from(await res.arrayBuffer());
require('fs').writeFileSync('shot.webp', data);
See the ScreenshotNeo documentation for the 63 capture options, including full-page and element selection, device presets, retina scale, PDF output, custom CSS and JavaScript, clicks, waits, request blocking, headers and cookies, timezone and geolocation, resizing, chosen cache TTLs, signed links, asynchronous webhooks, bulk capture, usage data, and the OpenAPI specification. Parameter names used by other screenshot APIs also work.
Best Value
- 5-in-1 Connectivity: Equipped with a 4K HDMI port, a 5 Gbps USB-C data port, two 5 Gbps USB-A ports, and a USB C 100W PD-IN port. Note: The USB C 100W PD-IN port supports only charging and does not support data transfer devices such as headphones or speakers.
- Powerful Pass-Through Charging: Supports up to 85W pass-through charging so you can power up your laptop while you use the hub. Note: Pass-through charging requires a charger (not included). Note: To achieve full power for iPad, we recommend using a 45W wall charger.
- Transfer Files in Seconds: Move files to and from your laptop at speeds of up to 5 Gbps via the USB-C and USB-A data ports. Note: The USB C 5Gbps Data port does not support video output.
- HD Display: Connect to the HDMI port to stream or mirror content to an external monitor in resolutions of up to 4K@30Hz. Note: The USB-C ports do not support video output.
- What You Get: Anker 332 USB-C Hub (5-in-1), welcome guide, our worry-free 18-month warranty, and friendly customer service.
Plans include 1,000 free shots each month with no card, then Starter at $5 for 3,000, Growth at $15 for 15,000, Pro at $39 for 60,000, Scale at $99 for 250,000, and Business at $249 for 1,000,000; yearly billing gives two months free and every feature is on every plan. Create a free ScreenshotNeo account to start with the 1,000 monthly shots.
Frequently Asked Questions
How do I take a screenshot of a localhost page?
Open the localhost URL in a browser on the same computer running the server, then use its screenshot command or automate it with Playwright or Puppeteer.
Can an online screenshot service capture my private intranet?
Only if the service’s capture environment can reach that address and complete its authentication. For an isolated intranet or localhost service, run the browser inside the reachable network instead.
The Tool Desk
Outbyte Driver Updater FREEFix the driver behind crashes, sound loss and screen glitchesFind Drivers →Outbyte PC Repair FREEClear out junk files and repair common Windows errorsFree Scan →What is the difference between viewport and full-page capture?
Viewport capture saves what is currently visible; full-page capture renders the entire scrollable document; an element capture saves only a selected component.
Quick Recap
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.

