After navigation and any page actions that affect the content or styles, await document.fonts.ready inside page.evaluate(), then call page.screenshot(). This makes Puppeteer wait for the page’s font-readiness promise instead of relying on a fixed sleep.
Wait for fonts before capturing
Use this sequence in your Puppeteer script:
await page.evaluate(() => document.fonts.ready);
await page.screenshot({ path: 'page.png' });
document is part of the browser page, so access it in the page context through page.evaluate(). Puppeteer waits for the promise returned by the page function before continuing. Put the wait after navigation and after any actions that determine what the page displays, immediately before the screenshot. See the Puppeteer JavaScript execution guide and Page.screenshot() API.
Complete example
Here is a runnable Node.js example using Puppeteer’s standard browser launch, navigation and screenshot calls:
const puppeteer = require('puppeteer');
(async () => {
const browser = await puppeteer.launch();
try {
const page = await browser.newPage();
await page.goto('https://example.com', { waitUntil: 'domcontentloaded' });
// Perform any page actions that affect the content or styles here.
await page.evaluate(() => document.fonts.ready);
await page.screenshot({ path: 'page.png', fullPage: true });
} finally {
await browser.close();
}
})();
Change the URL and screenshot options to suit your capture. The font wait itself is independent of options such as the output path, full-page capture, clipping, encoding or image type; consult the ScreenshotOptions API for supported options.
#1 Best Overall
- ULTRA HD 4K CLARITY: Stand out in every video call with breathtaking 4K video at 30fps or smooth 1080p at 60fps. Powered by a premium 1/2.5" CMOS sensor and a wide f/1.78 aperture, this webcam captures every detail with vibrant color and stunning low-light performance-so you always look your best
- FAST AUTOFOCUS & SMART LIGHT CORRECTION: No more blurry moments with this webcam for PC. Advanced Phase Detection Auto Focus (PDAF) locks onto your face instantly and keeps you sharp-even when you move. Built-in light correction adapts to your environment, balancing brightness and contrast for a flawless image in dim rooms or bright spaces
- DUAL NOISE-CANCELING MICS: Speak with confidence using this webcam with microphones. Dual microphones with intelligent noise-canceling tech isolate your voice and reduce background noise-suitable for webinars, live streams, team meetings, and virtual interviews
- WIDE-ANGLE LENS & FLEXIBLE MOUNTING OPTIONS: Capture more of your world with an 80 field of view and full 360 swivel rotation. Whether this streaming webcam is mounted on a laptop, monitor, or tripod, it allows you to find the right angle for any setup
- BUILT-IN PRIVACY COVER & PLUG-AND-PLAY SIMPLICITY: Protect your privacy with a secure sliding lens cover that blocks the camera when not in use. Setup is a breeze-just plug into any USB-A port and start streaming, chatting, or recording instantly. The USB webcam is compatible with Zoom, Microsoft Teams, Skype, OBS Studio, and all major platforms across Windows, macOS, and Linux
What the font wait does—and does not do
The call waits for the promise represented by document.fonts.ready to resolve. It avoids guessing how long fonts will take with a hard-coded delay. It is not a guarantee that the page will remain visually unchanged afterward: scripts, late content, animations or other page activity may still affect the rendered result.
Puppeteer’s screenshot guide shows navigation with waitUntil: 'networkidle2' as one possible setup, but network idleness is not a replacement for explicitly waiting for font readiness when fonts are the concern. A page can be network-idle without that being the font-readiness check you intend. See the Puppeteer screenshots guide.
Rank #2
- 【Efficient Quad-Core Performance】 Powered by a 1.8GHz Quad-Core processor, this mini laptop ensures smooth multitasking. With 2GB RAM and 64GB ROM (expandable to 1TB), it handles daily work and online tasks with ease.
- 【10.1" HD IPS Display & GMS Support】 Featuring a 1280x800 HD IPS screen, this cheap laptop delivers vibrant visuals. Pre-installed with Android OS and GMS, you get direct access to the Google Play Store for apps.
- 【Ultra-Portable & Lightweight Design】 Weighing only 1.76 lbs, this Blue computer is designed for mobility. Its compact form makes it an ideal companion for students and professionals for home schooling or trips.
- 【Versatile Connectivity Options】 Stay productive with dual USB 2.0 ports, a headphone jack, and a TF card slot. This computer for kids and adults features built-in Wi-Fi and Bluetooth for stable connections.
- 【Complete All-in-One Bundle】 This kid laptop kit includes the laptop, carrying bag, mouse, mouse pad, and power adapter. It is the perfect ready-to-use set for online classes, remote work, and entertainment.
Screenshot versus PDF font waiting
Puppeteer documents waitForFonts as an option for PDF generation, not as a screenshot option. For a screenshot, explicitly await the page’s font promise before calling page.screenshot().
| Output | How to wait | Capture call |
|---|---|---|
| Screenshot | await page.evaluate(() => document.fonts.ready) |
page.screenshot() after the wait |
Set waitForFonts: true in PDF options |
page.pdf({ waitForFonts: true }) |
See Puppeteer’s PDFOptions API. Do not pass waitForFonts to page.screenshot(); it is not a documented screenshot setting.
Quick wins for a faster PC:
Fix the driver behind crashes, sound loss and screen glitchesFind Drivers →Clear out junk files and repair common Windows errorsFree Scan →Scan for outdated or missing drivers - takes under a minuteDriver Scan →Rank #3
- Webcam comes with a 3-month XSplit VCam license and no privacy shutter. XSplit VCam lets you remove, replace and blur your background without a Green Screen.
- Full HD 1080p video calling and recording at 30 fps - You’ll make a strong impression when it counts with crisp, clearly detailed and vibrantly colored video.
- Stereo audio with dual mics - Capture natural sound on calls and recorded videos.
- Custom three-capsule array: This professional USB mic produces clear, powerful, broadcast-quality sound for YouTube videos, Twitch game streaming, podcasting, Zoom meetings, music recording and more
- Blue VOICE software: Elevate your streamings and recordings with clear broadcast vocal sound and entertain your audience with enhanced effects, advanced modulation and HD audio samples
Troubleshooting
- The screenshot still shows a fallback font: Confirm that the wait is after navigation and any action that changes the page’s styles or content, and that it is inside
page.evaluate(). Then check the page’s own font loading and styling; awaiting the promise does not guarantee later visual stability. documentis undefined: The expression is likely running in Node.js rather than in the page. Return the font promise frompage.evaluate()as shown above.waitForFontshas no effect on a screenshot: That option is forpage.pdf(). Use the explicitdocument.fonts.readywait for screenshots.- A network-idle wait did not solve the font issue: Network idleness and font readiness are different checks. Keep the explicit font wait before capture.
Or skip the browser setup
For a one-request screenshot, ScreenshotNeo returns an image or PDF from a URL. Its capture flow removes cookie banners, newsletter popups and chat widgets before the shot; bot checks, blank pages and failed loads are never billed. It also provides an MCP server so AI agents can take screenshots. The free plan includes 1,000 screenshots a month with no card, and paid plans start at $5 for 3,000.
For available parameters and behavior, see the ScreenshotNeo 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 ScreenshotNeo’s free plan to get 1,000 screenshots a month without a card.
Quick Recap
Rank #4
- Compatible with Logitech C920x HD Pro Webcam, Full HD 1080p/30fps Video Calling. Compatible with Logitech C920 Hd Pro Webcam. Compatible with Logitech HD Pro Webcam C920 Widescreen Video Calling and Recording Webcam.
- Compatible with Logitech C930e Webcam. Compatible with Logitech C922 Pro Stream Webcam 1080P Camera for HD Video Streaming. Compatible with Logitech Privacy Cover for C920 and C930e.
- This webcam cover conveniently blocks your camera cover to protect your privacy.
- This also compatible with other popular webcams. This is also known as webcam lid, webcam cap, webcam protector, web camera privacy cover.
- ienza is a registered trademark and a registered Amazon brand. Use of the ienza trademark without the prior written consent of ienza, LLC. may constitute trademark infringement and unfair competition in violation of federal and state laws. ienza products are developed as cost-effective alternatives to OEM parts. They are not necessarily endorsed by the OEMs
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.
Recommended Free Tools

