iTechGuides is reader-supported. When you buy through links on our site, we may earn an affiliate commission. As an Amazon Associate I earn from qualifying purchases. Learn more
Wait for the page condition that actually signals readiness, then call page.screenshot(). For a general-purpose capture, Puppeteer’s documented pattern is page.goto(url, { waitUntil: 'networkidle2' }) followed by a screenshot. If the page’s useful content appears later—or its network never becomes idle—wait for a page-specific selector instead.
Take a screenshot after navigation settles
Here is a complete Node.js example using Puppeteer. It opens a page, waits for the networkidle2 lifecycle condition, saves a PNG and closes the browser even if navigation or capture fails.
const puppeteer = require('puppeteer');
(async () => {
const browser = await puppeteer.launch();
try {
const page = await browser.newPage();
await page.goto('https://example.com', {
waitUntil: 'networkidle2',
});
await page.screenshot({ path: 'page.png' });
} finally {
await browser.close();
}
})();
Puppeteer’s screenshot guide uses this navigation-and-capture sequence: Puppeteer Screenshots guide. The current API documentation identifies itself as version 25.12.0; check the documentation matching the version installed in your project if behavior or options differ.
Outdated 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 matchWindows 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 reinstallChoose the right meaning of “finished loading”
There is no single readiness condition that fits every website. Puppeteer’s page.goto() defaults to waiting for load and has a default navigation timeout of 30,000 ms. Its documented lifecycle choices include load, domcontentloaded, networkidle0 and networkidle2. When multiple lifecycle events are supplied, navigation waits until all of them have fired. See Puppeteer lifecycle events and WaitForOptions.
#1 Best Overall
- CRISP CLARITY: This 23.8″ Philips V line monitor delivers crisp Full HD 1920x1080 visuals. Enjoy movies, shows and videos with remarkable detail
- INCREDIBLE CONTRAST: The VA panel produces brighter whites and deeper blacks. You get true-to-life images and more gradients with 16.7 million colors
- THE PERFECT VIEW: The 178/178 degree extra wide viewing angle prevents the shifting of colors when viewed from an offset angle, so you always get consistent colors
- WORK SEAMLESSLY: This sleek monitor is virtually bezel-free on three sides, so the screen looks even bigger for the viewer. This minimalistic design also allows for seamless multi-monitor setups that enhance your workflow and boost productivity
- A BETTER READING EXPERIENCE: For busy office workers, EasyRead mode provides a more paper-like experience for when viewing lengthy documents
Use network idle for a general-purpose capture
networkidle2 is often a practical starting point: the lifecycle condition waits for a 500 ms window in which no more than two network connections are active. networkidle0 uses the same 500 ms window but requires zero active connections. These conditions can take longer or time out on pages that keep connections open, such as applications using persistent network activity. Definitions: Puppeteer lifecycle events.
Wait for the content your screenshot needs
Network activity settling does not guarantee that all useful content has rendered, and a page may keep making requests after the relevant content is visible. If the application exposes a reliable readiness element, wait for it directly. The following selector is illustrative; replace it with one that exists on the page and indicates that the desired content is ready.
Rank #2
- CRISP CLARITY: This 22 inch class (21.5″ viewable) Philips V line monitor delivers crisp Full HD 1920x1080 visuals. Enjoy movies, shows and videos with remarkable detail
- 100HZ FAST REFRESH RATE: 100Hz brings your favorite movies and video games to life. Stream, binge, and play effortlessly
- SMOOTH ACTION WITH ADAPTIVE-SYNC: Adaptive-Sync technology ensures fluid action sequences and rapid response time. Every frame will be rendered smoothly with crystal clarity and without stutter
- INCREDIBLE CONTRAST: The VA panel produces brighter whites and deeper blacks. You get true-to-life images and more gradients with 16.7 million colors
- THE PERFECT VIEW: The 178/178 degree extra wide viewing angle prevents the shifting of colors when viewed from an offset angle, so you always get consistent colors
await page.goto('https://example.com', {
waitUntil: 'domcontentloaded',
});
await page.waitForSelector('[data-ready="true"]');
await page.screenshot({ path: 'page.png' });
You can also use Puppeteer’s separate page.waitForNetworkIdle() method after navigation. Its idleTime option defaults to 500 ms, and the method waits at least that long once the network is idle. See Page.waitForNetworkIdle() and WaitForNetworkIdleOptions.
Capture a full page or a single element
Full-page screenshot
Set fullPage: true to capture the full scrollable page rather than just the viewport. The default is false; screenshot type defaults to PNG. More options are documented in ScreenshotOptions.
Rank #3
- Clear visuals. Fluid motion: A 144Hz refresh rate and 1ms MPRT deliver smooth, tear‑free motion across work, gaming, and streaming for clearer, more fluid viewing.
- Eye comfort: TÜV Rheinland 3‑star* certification reduces harmful blue light while preserving stunning color quality without compromise. *TÜV Rheinland 3-star eye comfort certification.
- Wide viewing angle: Get consistent views across a wide 178° /178° viewing angle.
- In-Plane Switching (IPS): See excellent color accuracy and consistency across wide viewing angles with In-plane Switching (IPS) technology.
- Ultra-thin bezels: Maximize your viewing experience with thin bezels.
await page.screenshot({
path: 'full-page.png',
fullPage: true,
});
Screenshot of one element
Wait for the target element, then call screenshot() on its element handle. Puppeteer scrolls the element into view when needed. The call throws if the element has been detached from the DOM before capture. See ElementHandle.screenshot().
const element = await page.waitForSelector('.report');
if (!element) {
throw new Error('The .report element was not found');
}
await element.screenshot({ path: 'report.png' });
Troubleshoot common capture problems
- The screenshot is blank or missing late content: the chosen lifecycle event may have fired before the application rendered the content. Wait for a selector that marks the content ready, and confirm that the selector is present on this page.
- Navigation times out waiting for network idle: the page may keep network connections active. Try a less restrictive lifecycle condition such as
domcontentloaded, then wait for a meaningful selector; alternatively, usenetworkidle2instead ofnetworkidle0when up to two active connections are acceptable. - Element capture throws: the element handle may have become detached between finding the element and taking the screenshot. Find the element again after the page updates, or capture after the page reaches a stable state.
- The saved image shows only the viewport: set
fullPage: trueif you need the entire scrollable page.
Or skip the browser setup
ScreenshotNeo is a website screenshot API and MCP server. A single GET request returns an image or PDF; its capture options include full-page screenshots and selector-based element capture. Before capture, it can accept cookie or consent banners and remove known consent platforms, newsletter popups and chat widgets; each of those steps can be turned off. Bot checks, blank pages, timeouts, failed loads and cache hits are not billed, and responses indicate the page verdict and billing status. AI agents can use its MCP server tools, including take_screenshot, get_page_info and capture_pdf. Plans include 1,000 screenshots per month free with no card; paid plans start at $5 for 3,000. See ScreenshotNeo and the API documentation.
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—no card required.
Quick Recap
Best Value
- 【INTEGRATED SPEAKERS】Whether you're at work or in the midst of an intense gaming session, our built-in speakers provide rich and seamless audio, all while keeping your desk clutter-free.
- 【EASY ON THE EYES】 Protect your eyes and enhance your comfort with Blue-Light Shift technology. This feature reduces harmful blue light emissions from your screen, helping to alleviate eye strain during long hours of use and promoting healthier viewing habits.
- 【WIDEN YOUR PERSPECTIVE】Our sleek minimal bezel design ensures undivided attention. The nearly bezel-free display seamlessly connects in a dual monitor arrangement, delivering an unobstructed view that lets you focus on more at once, completely distraction-free.
Rank #4
- CURVED FOR ENHANCED ENGAGEMENT: An immersive viewing experience with a curved monitor that wraps more closely around your field of vision; It creates a wider view, enhancing depth perception and minimizing peripheral distraction
- SMOOTH PERFORMANCE FOR SEAMLESS CONTENT: Stay in the action when playing games, watching videos, or working on creative projects; The 100Hz refresh rate reduces lag and motion blur so you don't miss a thing in fast-paced moments¹
- MORE GAMING POWER: Gain the edge with optimizable game settings; Color and image contrast can be adjusted to see scenes more vividly and spot enemies hiding in the dark; Game Mode adjusts any game to fill the screen so you can view every detail²
- KEEP IT EASY ON THE EYES: Care for your eyes and stay comfortable, even during long sessions; Advanced eye comfort technology certified by TÜV reduces eye strain by minimizing blue light and reducing irritating screen flicker²
- INCREASED VERSATILITY: Connect to more; Plug devices straight into your monitor for increased flexibility, making your computing environment even more convenient
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.

