A white screenshot after page.goto() does not point to one specific cause. First check where navigation ended and the main document’s HTTP status; then confirm the page’s expected content is actually present before capturing it. For JavaScript-rendered pages, waiting for a page-specific element is usually a more useful readiness check than relying on network activity alone.
1. Check the destination and navigation response
page.goto() resolves with the main resource response, or with null in documented cases. Redirects resolve with the last response. A resolved navigation does not prove that the page you wanted loaded successfully.
Log the requested URL, final URL, and response status. This example uses Puppeteer’s documented networkidle2 navigation pattern, then checks the response and page title before taking a screenshot:
const response = await page.goto('https://example.com', {
waitUntil: 'networkidle2',
timeout: 60000,
});
console.log('Final URL:', page.url());
console.log('HTTP status:', response?.status() ?? 'no main-resource response');
console.log('Title:', await page.title());
await page.screenshot({ path: 'page.png', fullPage: true });
Inspect whether the final URL is the intended page or an unexpected error, login, challenge, or empty route. Treat those as possibilities to investigate, not conclusions from a white screenshot alone.
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
In headless shell, valid HTTP error statuses such as 404 and 500 do not make goto() throw. Check response.status() explicitly rather than treating the absence of an exception as proof of success. Navigating to about:blank or to the same URL with only a different hash returns null, so handle a missing response accordingly. See the Puppeteer Page.goto() reference.
2. Wait for the content you need, not just navigation
Network idle can be a useful starting point, but it is not a guarantee that a client-rendered application has displayed the view you intend to capture. Wait for a selector that identifies the real content, then check that it contains meaningful data.
const response = await page.goto('https://example.com/posts', {
waitUntil: 'networkidle2',
timeout: 60000,
});
if (response && response.status() >= 400) {
throw new Error(`Navigation failed with HTTP ${response.status()}`);
}
const posts = await page.waitForSelector('#posts', { timeout: 15000 });
const text = await posts.evaluate((element) => element.textContent?.trim());
if (!text) {
throw new Error('The posts container appeared but contains no text');
}
await page.screenshot({ path: 'posts.png', fullPage: true });
Replace #posts with a selector unique to the target page’s actual rendered view. A generic selector such as body may appear before the application has populated it. Puppeteer’s screenshots guide shows both a navigation wait and a selector-based element screenshot pattern: Puppeteer Screenshots guide.
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.
If the page lazy-loads content, scrolling or waiting longer may be necessary. Chrome’s headless rendering guide demonstrates waiting for a selector and notes that lazy-loaded pages can need more time: Chrome headless rendering guide.
Do these 3 things before closing this tab:
1Repair Windows errors before they cause bigger problems2Fix the driver behind crashes, sound loss and screen glitches3Clear out junk files and repair common Windows errors3. Use a readiness check that matches the capture
Capture the whole page
Wait for a meaningful page-specific element, verify its content, and then call page.screenshot(). The screenshot API captures the rendered page; it does not determine whether the application has finished loading the data you need.
Capture a single element
If only one component matters, wait for it and use its element handle:
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.
const card = await page.waitForSelector('.report-card', { timeout: 15000 });
await card.screenshot({ path: 'report-card.png' });
Puppeteer documents ElementHandle.screenshot(); it attempts to scroll an element into view if it is hidden. See the screenshots guide.
Do not assume network idle means application ready
Some pages continue making requests, while others finish their requests before the useful content is visible. Use the selector and content check as the actual capture gate. Choose a timeout that fits the target page and fail with a useful message if the expected element never appears.
Windows Errors? Fix Them Before They Spread
Repair common Windows errors and clear accumulated junk for a smoother, more stable PC - no reinstall needed.Free scan · no reinstallOutdated 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 match4. If the DOM looks right but the image is still white
If the expected text and elements are present in the DOM but the captured pixels are white, separate a rendering problem from a readiness problem:
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)
- Run the same navigation in a headful browser and compare the result.
- Inspect page console messages and failed requests for errors associated with rendering or data loading.
- Check whether the site changes behavior when it detects headless rendering. Chrome’s guide describes a headless signal that client-side code can use, but that is an investigation path—not evidence that a particular site is doing so.
- Compare the DOM and screenshot at the same point in the run, after the same readiness condition.
These checks help narrow the cause; there is no universal white-page fix established for every Puppeteer site.
5. Confirm the target format and browser mode
If the URL points to a PDF rather than an HTML page, verify which browser mode Puppeteer launched. The current Page.goto() reference says headless shell does not support navigation to a PDF document. This limitation is specifically documented for headless shell; do not assume it applies to every launch mode. Confirm the actual target and mode before changing the screenshot logic.
6. Troubleshoot by symptom
| Evidence | What to check next | Action |
|---|---|---|
| Final URL differs from the requested URL | Whether navigation ended on an unexpected route, login, error, or challenge page | Log the requested and final URLs and diagnose the redirect or route before capturing. |
| Response status is 404 or 500, but navigation did not throw | Main document response status | Check response.status(); in headless shell these valid HTTP statuses do not make goto() throw. |
| Selector wait times out | Whether the selector is correct and whether the page has rendered or lazy-loaded the target | Use a selector for the actual view, inspect the DOM, and allow for the target’s loading behavior. |
| Selector exists but has no useful content | Whether the application populated the element | Check its text or relevant attributes before capture; presence alone may be too early. |
| DOM content is present but screenshot pixels are white | Headless-specific behavior, console errors, failed requests, and headful comparison | Compare runs and inspect diagnostics; the available evidence does not establish a single cause. |
| Target is a PDF and navigation fails or is blank | Whether Puppeteer is using headless shell | Account for the documented PDF-navigation limitation in headless shell. |
7. Or skip the browser setup
If your goal is to obtain a screenshot rather than debug a Puppeteer run, ScreenshotNeo provides a screenshot API and MCP server. One GET request can return an image or PDF. Its API can remove cookie banners, popups, and chat widgets before capture; failed loads, blank pages, bot checks, and cache hits are not billed. An MCP server lets AI agents use screenshot tools. The free plan includes 1,000 screenshots a month with no card, and paid plans start at $5 for 3,000.
Quick wins for a faster PC:
Repair Windows errors before they cause bigger problemsFix Now →Fix the driver behind crashes, sound loss and screen glitchesFind Drivers →For setup and parameters, see the ScreenshotNeo documentation.
Best 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
curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://example.com -o shot.webp
Sign up for 1,000 free screenshots a month, with no card required.
Frequently Asked Questions
Does a white screenshot mean Puppeteer failed to navigate?
No. Navigation can resolve while the intended content is missing or not yet rendered. Check the final URL, response status, and expected page content.
Does Puppeteer support taking an element screenshot?
Yes. Wait for the element and call its screenshot() method; Puppeteer’s guide says it attempts to scroll a hidden element into view.
Recommended Free Tools
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.

