What’s actually slowing this PC down?
Pick the symptom - the matching free tool is one click away.
For a one-off screenshot, sign in to the site in your browser, open the protected page, and capture it there. For repeatable captures, use Playwright: log in through the site’s normal flow, save the authenticated browser state securely, restore it in later runs, and take a viewport, element, or full-page screenshot.
Choose a manual capture or an automated workflow
Manual capture is simplest when you need one image and can sign in interactively, including any multifactor authentication (MFA) or consent step. Automation is a better fit for recurring reports, test evidence, or capturing many pages: Playwright can reuse a saved browser context, but you must protect that state because it can grant access to the account.
| Approach | Best for | Authentication | Trade-off |
|---|---|---|---|
| Browser screenshot | A one-off image | Sign in normally in the browser | Fast to set up; a person must complete the login and capture |
| Playwright | Repeatable, scripted captures | Log in in a browser context and reuse saved state | Requires code and careful handling of credentials and session data |
Only capture pages you are authorized to access. Before sharing an image, check whether it exposes account details, personal information, or other content that should remain private.
Take a screenshot manually in Firefox
- Sign in through the website’s normal login page. Complete any MFA, consent, or other required steps.
- Open the exact protected URL and verify the member-only content is visible. If you see a login screen or an access error, do not capture yet.
- In Firefox, right-click an empty area of the page and choose Take Screenshot. You can also use Ctrl+Shift+S on Windows or Linux, or Command+Shift+S on macOS. Choose the visible area or the entire page. Firefox’s screenshot instructions describe the available choices.
- For a single page element, open Developer Tools, select it in the Inspector, and choose Screenshot Node. If you need the full-page screenshot control in Developer Tools, enable it in the Developer Tools settings. Mozilla documents these options in its Developer Tools screenshot guide.
- Open the saved image and inspect it. Look for clipped sticky headers, content that did not load below the fold, consent banners, and sensitive account data.
Choose what to capture
- Visible area: Choose this when the current screen is the evidence you need or when keeping the image small matters.
- Entire page: Choose this to show content below the fold. Check the resulting image for sections that load only after scrolling.
- One element: Choose this for a chart, table, dialog, or other specific component. It limits unrelated page content, but verify that the complete element appears in the image.
Automate authenticated screenshots with Playwright
Playwright’s recommended pattern is to authenticate once, save browser state, and load that state in later runs. The state can contain cookies and headers that allow someone to act as the account, so keep it out of source control and restrict access to it. See Playwright’s authentication guidance.
#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.
Install Playwright in your project with npm install -D playwright, then install its Chromium browser with npx playwright install chromium. The following TypeScript example assumes the login form has accessible labels named “Username” and “Password,” and a button whose name matches “Sign in.” Replace the example URLs and selectors with the site’s actual values. Store credentials in environment variables rather than writing them into the file.
import { chromium } from 'playwright';
const username = process.env.USERNAME;
const password = process.env.PASSWORD;
if (!username || !password) {
throw new Error('Set USERNAME and PASSWORD environment variables.');
}
const browser = await chromium.launch();
const context = await browser.newContext();
const page = await context.newPage();
try {
await page.goto('https://example.com/login');
await page.getByLabel('Username').fill(username);
await page.getByLabel('Password').fill(password);
await page.getByRole('button', { name: /sign in/i }).click();
// Wait for a reliable post-login signal; adapt this to the site.
await page.waitForURL(/dashboard|account/);
await page.getByText('My account').waitFor();
await context.storageState({ path: 'playwright/.auth/user.json' });
await page.goto('https://example.com/protected-page');
await page.getByText('Members-only content').waitFor();
await page.screenshot({ path: 'protected-page.png', fullPage: true });
} finally {
await browser.close();
}
The post-login URL and signed-in text are examples, not universal selectors. Pick a signal that only appears after successful authentication. Some sites require an interactive MFA step or a different login flow; do not try to bypass the site’s access controls. For a site that does not expose a suitable text marker, wait for a stable locator that confirms the protected content has loaded.
Restore saved state in a later run
After authenticating and saving state, a separate capture run can create a context from that file. Check for a post-login marker after opening the protected page so an expired session does not silently produce a screenshot of the login screen.
import { chromium } from 'playwright';
const browser = await chromium.launch();
const context = await browser.newContext({
storageState: 'playwright/.auth/user.json',
});
const page = await context.newPage();
try {
await page.goto('https://example.com/protected-page');
await page.getByText('Members-only content').waitFor();
await page.screenshot({ path: 'protected-page.png', fullPage: true });
} finally {
await browser.close();
}
Playwright also documents using npx playwright codegen --save-storage=auth.json to save storage and npx playwright codegen --load-storage=auth.json to load it. These options are useful for an interactive setup, but the resulting storage file still needs secret-level handling. See Playwright’s authentication documentation.
The Tool Desk
Outbyte PC Repair FREERepair Windows errors before they cause bigger problemsFix Now →Outbyte Driver Updater FREEScan for outdated or missing drivers - takes under a minuteDriver Scan →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.
Capture a viewport, element, or full page
Use page.screenshot() for the visible viewport, page.screenshot({ fullPage: true }) for the full scrollable page, or a locator screenshot for one element. For example:
// Current viewport
await page.screenshot({ path: 'viewport.png' });
// One matched element
await page.getByRole('table', { name: 'Recent invoices' })
.screenshot({ path: 'invoices.png' });
// Full scrollable page
await page.screenshot({ path: 'full-page.png', fullPage: true });
Locator screenshots require a locator that matches the element you intend to capture. Playwright documents these screenshot modes in its screenshots guide.
Handle page loading and dynamic content
A successful login does not guarantee every protected component is ready to capture. Wait for a meaningful post-login URL or signed-in control, then for the particular content you need. If a page fills sections only as they approach the viewport, a full-page screenshot may need extra time or a deliberate scroll through the page so those sections render. Verify the saved image rather than assuming that navigation completion means every image or widget has loaded.
For an element capture, wait directly for that element instead of relying only on a fixed delay. A fixed timeout may be too short on a slow run and waste time on a fast one. If a site uses a dialog or transient loading state, wait for the expected stable state before capturing.
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.
Protect login state and account data
- Add the authentication directory to
.gitignore, for exampleplaywright/.auth/, and do not commit the state file. - Limit access to the file and avoid putting it in public artifacts, shared logs, or screenshots. Cookies and headers in browser state may let another person impersonate the account.
- Use a dedicated, least-privilege test account when that is available and appropriate. Avoid capturing real customer or personal data unless you have permission and a secure handling plan.
- Delete or rotate saved state if it is exposed, and sign in again when the session expires.
- Review the final image before sending or publishing it; a crop or element capture may reduce exposure but does not guarantee that sensitive information is absent.
Troubleshoot common failures
The screenshot shows the login page
The saved session may have expired, the login redirect may still be in progress, or the state may not apply to the protected page’s domain. Re-authenticate, wait for a reliable post-login URL or signed-in marker, and verify protected content before saving the screenshot. Playwright’s authentication guide uses a final URL or signed-in control as a confirmation signal: Authentication in Playwright.
Part of the page is missing
For content below the fold, use full-page capture. If the site lazy-loads sections or images, allow them to render—scrolling through the page before capture may be necessary. For one component, target and wait for its locator. Compare the image with the page itself before sharing it.
A site that uses session storage appears signed out
Playwright notes that session storage is domain-specific and is not persisted automatically with the usual storage state. If the application relies on it, you may need to export and restore it with an initialization script; follow the site’s and Playwright’s applicable guidance rather than assuming that a saved storage-state file includes it. See Playwright authentication.
The site uses HTTP Basic Authentication
For an interactive code-generation workflow, Playwright documents the --http-credentials option. Use the credentials required by the site and keep them out of shell history or shared logs where practical. Details are in the Playwright codegen documentation.
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 script cannot find a login field or button
The example’s accessible names may differ from the site’s labels. Inspect the actual page and update getByLabel() or getByRole() to match its accessible interface. If the site changes its login page, update the locator and verify that the script still confirms successful sign-in before capturing.
The image includes an unwanted banner or sensitive detail
Check the capture scope and page state before saving. Close a banner only if the site permits it and doing so does not alter the evidence you need. Use an element capture or crop when appropriate, but inspect the resulting file for account identifiers and private data.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Or skip the browser setup
ScreenshotNeo is a website screenshot API and MCP server. A single request can return a PNG, JPEG, WebP, or PDF. Example cURL request:
curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://example.com/protected-page -o shot.webp
See the ScreenshotNeo documentation for API details. This API call does not itself sign in to a protected website: a URL that requires an authenticated session still needs an authentication approach supported by the service and the site. Do not send account credentials or session cookies unless you understand the security implications and have authorization.
ScreenshotNeo’s clean-shot workflow accepts cookie or consent banners and removes more than 60 known consent platforms, newsletter popups, and chat widgets before capture; each of those steps can be turned off. Bot checks or CAPTCHAs, blank pages, timeouts, failed loads, and cache hits are not billed, and responses identify page verdict and billing status in headers. 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; yearly billing gives two months free, and every feature is available on every plan. Create a free ScreenshotNeo account to get started.
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.
Frequently Asked Questions
Can I screenshot a members-only page without being signed in?
The methods here capture a page you are authorized to access after authentication; they do not bypass a login or access control.
Can I capture just one chart or table instead of the whole page?
Yes. Firefox Inspector offers Screenshot Node, and Playwright can take a screenshot of a matched locator.
Recommended Free Tools
What should I do if my Playwright authentication file is exposed?
Treat it as compromised because it may allow account impersonation: revoke or rotate the relevant session if possible, remove the exposed file, and authenticate again with fresh state.
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.

