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

To screenshot a page after logging in with Browserless, first save the completed login state as an authenticated profile, then send a POST request to Browserless’s /screenshot endpoint with the page URL and that profile’s name. Browserless restores the profile before the page renders, so you can reuse the session without scripting the login for every capture. If login requires interaction, complete it in a live browser session and save the profile only after the final redirect and signed-in page have loaded.

Choose the right way to authenticate

Browserless offers several paths, and the right one depends on how the site authenticates you. A saved profile is the practical choice for repeat screenshots behind a normal web-app login. Use a live browser session when you must interact with the page before taking the screenshot.

Situation Documented approach Important detail
Repeat captures behind a web-app login Save and reuse an authenticated profile The profile can restore cookies, localStorage, and IndexedDB. Save it only after login finishes.
HTTP Basic or proxy authentication challenge BrowserQL authenticate(username, password, origin) This handles HTTP authentication challenges, not an interactive web-app login. Scope credentials to an origin; without one, BrowserQL applies them to every challenge. BrowserQL authenticate documentation
You already have valid cookie values BrowserQL cookies mutation Set cookies before navigation and observe their domain, path, security, and SameSite requirements. Browserless cookie management
A login or navigation flow needs several interactive steps Persistent browser session using BAP or a CDP client Cookies and login state persist within the session; close the browser when finished. Browserless session guide

Save a login as an authenticated profile

  1. Create a profile. Browserless documents creating one in the dashboard or by opening a profile session through its API. Profiles are scoped to the API token used to access them.
  2. Open a live browser session and log in. Complete the site’s normal login flow. Wait for redirects and confirm that the signed-in page is fully loaded.
  3. Save the profile after authentication finishes. Browserless’s profile example calls Browserless.saveProfile after login. The saved state can include cookies, localStorage, and IndexedDB. It does not include sessionStorage, which is tab-specific and may contain short-lived flow data.
  4. Reuse the profile for screenshots. Pass the profile name and API token as query parameters to the screenshot endpoint, and put the target URL in the JSON body.

If you save too early—before the login redirect completes or the site sets its authentication state—the profile may not contain a usable signed-in session. See Browserless’s authenticated-profile documentation and profile example for the profile-session workflow.

Take a screenshot with the saved profile

This cURL request sends the target URL in the request body and the profile name with the API token in the endpoint URL. Replace the example values with your own; do not put a real token in code that you share or commit.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#1 Best Overall
Elebase USB to USB C Adapter for iPhone 18 Pro Max,USBC Car Charger Adapter
  • 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.
curl -X POST 
  "https://production-sfo.browserless.io/screenshot?token=YOUR_API_TOKEN_HERE&profile=my-profile" 
  -H "Content-Type: application/json" 
  -d '{"url":"https://app.example.com/dashboard"}' 
  --output dashboard.png

The response is image bytes saved as dashboard.png. Browserless documents PNG, JPEG, and WebP formats, with the format selected through screenshot options. Check the current REST screenshot API schema before adding less common options.

What the request does

  • token identifies your Browserless API access.
  • profile selects the saved browser state to restore.
  • The JSON url is the page to capture after the profile is restored.
  • --output writes the returned bytes to a local file instead of printing binary data in the terminal.

Choose screenshot options for the page

The Browserless screenshot mutation documents these options; confirm their request syntax in the current schema before using them with a particular endpoint.

Rank #2
Anker USB-C Hub, 5-in-1 USB Hub for Laptops, 4K HDMI Multiport Adapter
  • 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.
Option Use it when Notes
fullPage You need the page beyond the visible viewport Captures the full page rather than only the viewport.
type You need a particular image format Documented formats include PNG, JPEG, and WebP.
quality You choose JPEG output and want to set its quality Quality applies to JPEG, not PNG.
selector You want one element rather than the whole page Use the selector for the element to capture.
waitForImages Image completion matters to the result Requests that images finish loading before capture.
timeout The page or its assets need more time The documented default is 30 seconds.

For dynamic pages that need clicking, scrolling, or an explicit wait before capture, use a browser connection rather than expecting a single REST screenshot request to perform those interactions. Browserless’s screenshot example demonstrates browser-based capture; its BAP screenshots guide describes returning image bytes and the additional path behavior in supported Node.js and Python environments.

Or skip the browser setup

If your target page can be reached using the credentials or cookies you provide, ScreenshotNeo offers a one-request screenshot API. Its custom cookies and Authorization options may suit some authenticated pages, but they do not perform an interactive login flow or guarantee access to every protected site.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #3
Sale
Anker USB C Hub, 7in1 Multi-Port USB Adapter, 4K@60Hz USBC to HDMI Splitter
  • 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.
curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://stripe.com -o shot.webp

See the ScreenshotNeo API documentation for request options. ScreenshotNeo accepts cookie banners like a visitor and removes supported consent banners, newsletter popups, and chat widgets before capture; each step can be turned off. Bot checks/CAPTCHAs, blank pages, timeouts, failed loads, and cache hits are not billed, and responses include X-Page-Verdict and X-Billed headers. Its MCP server lets AI agents use take_screenshot, get_page_info, and capture_pdf. The Free plan includes 1,000 shots per month with no card; paid plans start at $5 for 3,000 shots. Sign up for ScreenshotNeo’s free plan.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Troubleshoot a bad or logged-out capture

The screenshot shows logged-out content

  • Check that the profile was saved after the final login redirect and that the signed-in page had loaded. A profile captured too early may lack the authentication state.
  • Confirm you are passing the right profile name and the API token that can access that profile.
  • If the site depends on sessionStorage or other tab-specific short-lived flow data, a saved profile may not preserve that part of the flow.

The screenshot is blank or incomplete

  • Check that the destination URL is correct and the page has had time to load.
  • For a dynamic page, use a connected browser session to interact or wait before capture. Consider a selector or image-loading option where appropriate.
  • Increase the timeout if the page needs longer than the documented 30-second default, using the syntax supported by the endpoint you call.

The screenshot shows a CAPTCHA or a different page

The site may be blocking automation, or the saved state may not be valid. Browserless documents an Unblock API that attempts to handle bot detection and can return a screenshot, cookies, content, or a browser endpoint. It does not promise success against every protected site. Review the Unblock API documentation and follow the site’s access rules.

HTTP credentials do not sign in to the web app

BrowserQL’s authenticate mutation is for HTTP authentication challenges. For a form-based or otherwise interactive site login, use a live browser to complete the flow and save an authenticated profile instead.

Best Value
Anker USB C Hub, 5-in-1 USBC to HDMI Splitter with 4K Display
  • 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.
Rank #4
Sale
UGREEN USB to USB C Adapter Combo 4-Pack, 10Gbps USB C Converter Space Gray
  • 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

Security and reliability considerations

  • Treat API tokens, saved profiles, and captured screenshots as sensitive: they may provide access to private account data.
  • Use an origin-scoped BrowserQL authentication challenge when that method applies, rather than sending credentials broadly.
  • Do not assume a saved profile lasts indefinitely or survives every site change. If authentication expires or the site changes its login flow, capture and save a fresh signed-in state.
  • Validate a representative capture before automating a large batch. A successful HTTP response alone does not establish that the screenshot contains the intended authenticated page.

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.