A screenshot API can capture a page behind a login if you give its browser authentication the site accepts—usually a valid session cookie, HTTP Basic credentials, or an Authorization header. If the site requires filling out a login form or handling several authentication steps, use browser automation such as Playwright to sign in, retain the browser state, and then capture the page.
Choose the method that matches the login
First identify how the site authenticates you. A screenshot request without valid credentials or session state will generally show the login page, not the protected content. Use an account and session you are authorized to access.
- Session cookie: Use a hosted API that accepts cookies when you already have a current session cookie.
- HTTP Basic authentication: Use a provider that exposes Basic Auth credentials as a request option.
- Token authentication: Supply the target site’s token in an Authorization header if the provider lets its browser send custom headers.
- Interactive login: Use browser automation when the site requires form submission, redirects, multiple steps, or browser-specific behavior.
A provider’s own API key is separate from the credentials needed to sign in to the target site. Keep the two distinct.
Use a hosted screenshot API for cookie- or header-based access
A hosted API is convenient when the provider can pass the target site’s required cookie or header to its browser. Request fields differ by provider; do not assume that one service’s parameter names work on another.
Free tools Windows power users keep installed
One-click scans. No signup required.
#1 Best Overall
- Compatible with Nintendo Switch 2’s new GameChat mode
- Auto-Light Balance: RightLight boosts brightness by up to 50%, reducing shadows so you look your best—compared to previous-generation Logitech webcams (1)
- Privacy with a Slide: The integrated webcam cover makes it easy to get total, reliable privacy when you're not on a video call
- Built-In Mic: The built-in microphone lets others hear you clearly during video calls
- Easy Plug-And-Play: The Brio 101 works with most video calling platforms, including Microsoft Teams, Zoom and Google Meet—no hassle; it just works
For example, Cloudflare Browser Run documents a screenshot endpoint that accepts a destination URL and cookie array, with cookie name, value, domain, and path. Its documentation also describes HTTP Basic authentication through an authenticate object and token-based authentication through setExtraHTTPHeaders. It documents navigation waits and timeouts, viewport sizing, full-page capture, and CSS selector capture. See Cloudflare Browser Run screenshot documentation and check the current API reference before using its parameters, which may change.
Conceptually, the request must include the destination URL and the authentication material in the format the provider expects. For a cookie, verify its domain and path match the protected page. For a token, put the target site’s token in the browser’s Authorization header. Avoid placing credentials in public scripts, logs, or shared request examples.
Use Playwright for an interactive login
When a login requires browser actions, automate the flow in a browser context, save the authenticated state, then load that state in a later run before navigating to the protected URL. The following Node.js example is a starting point for a site with conventional username and password fields; replace the URL and selectors with the site’s actual values. The site may require additional steps such as a one-time code, and those should only be automated where permitted.
Rank #2
- Compatible with Nintendo Switch 2’s new GameChat mode
- Crisp HD 720p/30 fps video calls with diagonal 55° field of view and auto light correction. Compatible with popular platforms including Skype and Zoom.
- The built-in noise-reducing mic makes sure your voice comes across clearly up to 1.5 meters away, even if you’re in busy surroundings.
- C270’s RightLight 2 feature adjusts to lighting conditions, producing brighter, contrasted images to help you look good in all your conference calls.
- The adjustable universal clip lets you attach the camera securely to your screen or laptop, or fold the clip and set the webcam on a shelf. You’re always ready for your next video call.
const { chromium } = require('playwright');
(async () => {
const browser = await chromium.launch({ headless: true });
const context = await browser.newContext();
const page = await context.newPage();
await page.goto('https://example.com/login', { waitUntil: 'domcontentloaded' });
await page.locator('input[name="username"]').fill(process.env.SITE_USERNAME);
await page.locator('input[name="password"]').fill(process.env.SITE_PASSWORD);
await page.locator('button[type="submit"]').click();
// Replace this with a reliable indicator that confirms successful sign-in.
await page.locator('[data-testid="account-home"]').waitFor();
await context.storageState({ path: 'playwright/.auth/state.json' });
await browser.close();
})();
Store the state file somewhere private, exclude it from source control, and restrict access to it: it may contain cookies and headers that can be used to impersonate the account. Playwright’s standard storage-state workflow covers cookies, local storage, IndexedDB, and virtual WebAuthn passkeys. It does not automatically persist sessionStorage; if the application depends on sessionStorage, save and restore it explicitly. See Playwright authentication guidance.
Reuse the state for the capture by creating a context from it, then wait for the page’s actual content before taking the screenshot:
const { chromium } = require('playwright');
(async () => {
const browser = await chromium.launch({ headless: true });
const context = await browser.newContext({
storageState: 'playwright/.auth/state.json'
});
const page = await context.newPage();
await page.goto('https://example.com/account/report', { waitUntil: 'domcontentloaded' });
await page.locator('[data-testid="report-content"]').waitFor();
await page.screenshot({ path: 'report.png', fullPage: true });
await browser.close();
})();
Adjust the readiness selector and capture mode to the page. Playwright’s Page API documents screenshot capture, including saving an image to a path or receiving an image buffer.
Rank #3
- 【Full HD 1080P Webcam】Powered by a 1080p FHD two-MP CMOS, the NexiGo N60 Webcam produces exceptionally sharp and clear videos at resolutions up to 1920 x 1080 with 30fps. The 3.6mm glass lens provides a crisp image at fixed distances and is optimized between 19.6 inches to 13 feet, making it ideal for almost any indoor use.
- 【Wide Compatibility】Works with USB 2.0/3.0, no additional drivers required. Ready to use in approximately one minute or less on any compatible device. Compatible with Mac OS X 10.7 and higher / Windows 7, 8, 10 & 11 / Android 4.0 or higher / Linux 2.6.24 / Chrome OS 29.0.1547 / Ubuntu Version 10.04 or above. Not compatible with XBOX/PS4/PS5.
- 【Built-in Noise-Cancelling Microphone】The built-in noise-canceling microphone reduces ambient noise to enhance the sound quality of your video. Great for Zoom / Facetime / Video Calling / OBS / Twitch / Facebook / YouTube / Conferencing / Gaming / Streaming / Recording / Online School.
- 【USB Webcam with Privacy Protection Cover】The privacy cover blocks the lens when the webcam is not in use. It's perfect to help provide security and peace of mind to anyone, from individuals to large companies. 【Note:】Please contact our support for firmware update if you have noticed any audio delays.
- 【Wide Compatibility】Works with USB 2.0/3.0, no additional drivers required. Ready to use in approximately one minute or less on any compatible device. Compatible with Mac OS X 10.7 and higher / Windows 7, 10 & 11, Pro / Android 4.0 or higher / Linux 2.6.24 / Chrome OS 29.0.1547 / Ubuntu Version 10.04 or above. Not compatible with XBOX/PS4/PS5.
Wait for the protected content and verify the image
A successful navigation or API response does not prove that the capture contains the signed-in page. Dashboards may render data after the initial document loads. Prefer a page-specific selector that appears only when the target content is ready; use a provider’s supported navigation wait or timeout as a secondary measure. Then inspect the result for a login screen, expired-session message, blank area, or partially rendered content.
Choose the capture scope that serves the task: viewport for the visible screen, full-page for a long document, or a selector for one component. A selector capture can reduce irrelevant material, but it cannot fix an authentication or readiness failure.
PC Slower Than It Used to Be?
A free scan shows the junk files, broken settings and background clutter dragging Windows down - then fixes them in one click.Free scan · Windows 10 & 11Outdated Drivers Are Slowing You Down
One free scan finds every outdated or missing driver and matches the right update for your exact hardware.Free scan · exact hardware matchProtect credentials and captured data
- Keep cookies, bearer tokens, passwords, and saved browser state out of source control and public examples.
- Do not log full request headers or cookie values; limit who can access credentials and state files.
- Refresh saved state when the session expires, and avoid reusing state beyond its intended account or environment.
- Check whether the screenshot exposes personal, account, or confidential information before storing or sharing it.
Hosted API or self-managed browser?
| Consideration | Hosted screenshot API | Self-managed browser automation |
|---|---|---|
| Authentication fit | Convenient when it supports the target’s cookies, credentials, or headers. | Can interact with login steps and retain browser state. |
| Control | Waits, viewport, selector, and full-page options depend on the provider. | Direct control over browser actions, navigation, and capture. |
| Operations | Avoids managing the browser runtime directly, but depends on a hosted service. | Requires maintaining the automation runtime and securely handling state. |
| Good fit | Repeatable captures where request-based authentication is enough. | Multi-step login or browser-specific behavior. |
These are capability differences, not a price or performance ranking; comparable pricing, service commitments, and independent performance results are not established by the cited documentation.
Rank #4
- 1080P Webcam with Cover for Video Calls - EMEET computer webcam provides design and Optimization for professional video streaming. Realistic 1920 x 1080p video, 5-layer anti-glare lens, providing smooth video. C960 computer camera delivers 1920x1080 video with fixed focus (11.8–118.1 inches), so as to provide a clearer image. C960 USB webcam has a cover and can be removed automatically to meet your needs for privacy. For optimal image performance, use the webcam in a well-lit environment.
- Built-in 2 Omnidirectional Mics - EMEET webcam with microphone for desktop features 2 built-in omnidirectional microphones, picking up your voice to create clear audio for communication. When installing the webcam, select EMEET C960 as the default microphone input device in your computer and video applications and select C960 as the default device in Zoom/Teams and ensure microphone permissions are enabled for proper use. Please note that C960 does not include built-in speakers.
- Automatic Light Adjustment - Automatic exposure adjustment is applied in EMEET HD webcam 1080p so that the streaming webcam can deliver stable image performance. EMEET C960 camera for computer also features color adjustment and exposure optimization to help you look your best. For optimal video quality, it is recommended to use the webcam in normal or well-lit environments and select suitable video settings in your application. Proper lighting helps achieve a clearer and more balanced image.
- Plug-and-Play & Upgraded USB Connectivity - New C960 webcam features both USB Type-A & A-to-C adapter connections for wider compatibility. For stable performance, connect the webcam directly to the computer's main USB port and ensure the device is recognized correctly. If a hub or docking station is used, please ensure it provides sufficient power and stable data transmission, as limited ports may affect performance. 90° wide-angle lens captures more participants without frequent adjustments.
- High Compatibility & Multi Application - C960 webcam for laptop is compatible with Windows 10/11, macOS 10.14+, and Android TV 7.0+. Not supported: Windows Hello, TVs, tablets, or game consoles. It works with Zoom, Teams, Facetime, Google Meet, YouTube and more. Please select C960 webcam as the default camera and microphone device in your application and ensure camera/microphone permissions are enabled, especially on macOS. (Tips: Incompatible with Windows Hello)
Or skip the browser setup
ScreenshotNeo is a screenshot API and MCP server for developers. For pages its browser can access, use a single GET request:
curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://example.com/account/report -o shot.webp
See the ScreenshotNeo API documentation for authentication and request options. To capture a page behind a login, provide the target site’s supported cookie or Authorization header using the API’s documented custom cookies and headers options; a multi-step interactive login may still call for browser automation.
- Cookie and consent banners, newsletter popups, and chat widgets are removed before the shot; each cleanup step can be turned off.
- Bot checks or CAPTCHAs, blank pages, timeouts, failed loads, and cache hits cost nothing; responses identify the page verdict and billing status in headers.
- Its MCP server gives AI agents tools for screenshots, page information, and PDF capture.
- The Free plan includes 1,000 shots a month with no card; paid plans start at $5 for 3,000 shots.
Sign up for ScreenshotNeo’s free plan to get 1,000 screenshots a month with no card.
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 glitchesBest Value
- Compatible with Nintendo Switch 2’s new GameChat mode
- HD lighting adjustment and autofocus: The Logitech webcam automatically fine-tunes the lighting, producing bright, razor-sharp images even in low-light settings. This makes it a great webcam for streaming and an ideal web camera for laptop use
- Advanced capture software: Easily create and share video content with this Logitech camera that is suitable for use as a desktop computer camera or a monitor webcam
- Stereo audio with dual mics: Capture natural sound during calls and recorded videos with this 1080p webcam, great as a video conference camera or a computer webcam
- Full HD 1080p video calling and recording at 30 fps. You'll make a strong impression with this PC webcam that features crisp, clearly detailed, and vibrantly colored video
Troubleshoot a wrong or incomplete capture
- The screenshot shows the login page: Check that the credential is current and is actually reaching the browser. For cookies, confirm name, value, domain, and path; for token auth, confirm the Authorization header is set on the browser request. In Playwright, confirm the saved state belongs to the correct site origin and has not expired.
- The page redirects or reports an expired session: Sign in again and save fresh state. Sites may expire or revoke sessions; a stale cookie cannot be repaired by changing screenshot options.
- The page is blank or only partly rendered: Wait for a page-specific content selector or application-ready state rather than relying only on the initial navigation response. Check for delayed charts or data requests.
- Session-dependent state disappears in Playwright: Determine whether the app relies on sessionStorage. The regular storage-state file does not automatically include it, so explicitly persist and restore it if needed.
- Credentials work locally but not in the hosted API: Compare the provider’s required cookie/header format and supported browser options. A hosted service does not necessarily support every authentication mechanism or interactive flow.
Frequently Asked Questions
Does a screenshot API key sign me in to the website I am capturing?
No. The API key authorizes your request to the screenshot service; the target site requires its own accepted login credentials or session.
Can I capture a page protected by a one-time code or passkey?
It depends on the site’s flow and the capture method. An interactive browser workflow may handle permitted steps, but a request-only API may not; confirm the provider’s supported authentication options.
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.

