Do these 3 things before closing this tab:
1Fix the driver behind crashes, sound loss and screen glitches2Clear out junk files and repair common Windows errors3Scan for outdated or missing drivers - takes under a minuteWait for document.fonts.ready in the page before calling page.screenshot(). Navigation readiness and font readiness are separate: a page can meet a navigation condition while fonts used by its content are still loading or triggering layout changes.
Wait for used web fonts before capturing
Here is a complete ES module example. Replace the example URL with the page you want to capture.
As an Amazon Associate I earn from qualifying purchases.
import puppeteer from 'puppeteer';
const browser = await puppeteer.launch();
try {
const page = await browser.newPage();
await page.goto('https://example.com', { waitUntil: 'networkidle2' });
await page.evaluate(async () => {
await document.fonts.ready;
});
await page.screenshot({ path: 'page.png', fullPage: true });
} finally {
await browser.close();
}
The example follows the sequence in Puppeteer’s screenshot guide and uses the browser font-set API documented by MDN. It is an API example, not a claim about a test run. Choose a navigation condition that fits the site; networkidle2 is one option shown in Puppeteer’s guide.
What document.fonts.ready does—and does not—wait for
document.fonts exposes the document’s FontFaceSet. Its ready promise resolves when loading of fonts used by the document and the resulting layout operations are complete, with no further font loads needed at that point.
#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
That is not a promise that every font declared in CSS has downloaded. Unused faces may remain unloaded, and a face that did not load in time under font-display: optional may not be used. If a specific typeface or glyph matters to the output, inspect the page’s font loading and CSS rather than treating the promise as a check that all declarations succeeded.
Choose the screenshot area and output
These capture options change what the image contains; they do not replace the font wait. Puppeteer documents the following choices in its ScreenshotOptions reference:
Rank #2
- 【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.
fullPage: truecaptures the complete page rather than only the current viewport.clipcaptures a specified rectangle.pathsaves the image. Puppeteer can infer the screenshot type from the file extension.omitBackground: trueomits the background for a transparent result.
To capture a particular element, Puppeteer also documents ElementHandle.screenshot(). It scrolls the element into view if needed, then uses page screenshot capture; see the ElementHandle screenshot reference.
Handle pages that update after navigation
Some applications add content or change typography after the initial navigation through later application activity. In that case, wait for the application-specific content or state you need first, then await document.fonts.ready, and capture. There is no single universal condition for arbitrary application updates: use a selector or other condition that represents the content your own page must finish rendering.
Rank #3
- Full HD 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. The fixed focal length makes the object in the focal length range of 11.8-118.1 inches, so as to provide a clearer image. The C960 usb webcam has a cover and can be removed automatically to meet your needs for protection. It is a great choice for home office.
- Built-in 2 Noise Reduction Mics - EMEET webcam with microphone for desktop is 2 built-in omnidirectional noise reduction microphones, picking up your voice and filtering out background noise to create an excellent radio effect.EMEET computer webcam enables you to enjoy crystal clear voice for communication. (When installing the web camera, remember to select EMEET C960 usb webcam as the default device for the microphones)
- Low Dependence on Light Condition - Automatic low-light correction technology is applied in EMEET HD webcam 1080p so that the streaming webcam could capture the image in dim light. EMEET C960 camera for computer also has low-light boost, color boost and adjust exposure so you look your best, even in dim and harsh lighting. Imagine you are working in front of a sunny window. Is it convenient for no need to draw the curtains first when a video call comes in to get a normal exposure picture?
- Plug-and-play & 90 Degrees Wide View - No driver required. EMEET C960 pc webcam can be used without drivers to realize plug and play for saving your trouble. The convenient foldable design of web camera allows you to take it anywhere, and the USB cord is long enough for any task. The 90° wide-angle lens of USB camera can accommodate more participants. In video calls, there is no need to frequently adjust the direction of the web cam to show people in different positions.
- High Compatibility & Multi Application - C960 webcam for laptop is compatible with Windows 10/11, MacOS10.14 or later, Linux, Android TV 7.0 or later. The compatibility of the streaming camera is super wide for major software like Zoom, Teams, Facetime, Google Meet, YouTube and more. Whether this web camera is used for online studying/ teaching, home office, conference, meeting or video calling, the web camera is perfectly suitable for you as a tripod-ready universal clip. (Tips: Incompatible with Windows Hello functions)
Why networkidle2 alone may not be enough
A navigation condition such as networkidle2 concerns the navigation lifecycle. document.fonts.ready concerns fonts used by the document and their associated layout work. Because they describe different conditions, satisfying the former does not stand in for explicitly waiting on the latter when web fonts matter to the screenshot.
Do not use the PDF font option for screenshots
Puppeteer’s PDFOptions reference documents waitForFonts, which defaults to true and waits for document.fonts.ready. The ScreenshotOptions reference does not list a waitForFonts setting. For screenshots, wait explicitly in page context as shown above.
Rank #4
- 1080P Full HD Webcam - Experience smooth and clear video calls with our 1080P Full HD webcam for PC,powered by a new CMOS sensor for improved image clarity and color performance. Ideal for remote work, meetings, or online teaching, this webcam delivers high-definition video, allowing you to communicate effectively in professional settings or virtual classrooms
- Easy Plug-and-Play - Easily set up your webcam for PC with plug-and-play functionality—no drivers needed, making it effortless for IT Development. Just connect it to your device, and you're ready for video calls, conferences, or live streams. The included Type-A to Type-C adapter ensures compatibility with laptops and other devices, making it perfect for remote work or easy video communication
- Dual Noise-Reduction Microphones - This webcam with microphone features dual noise-reduction technology to help improve the clarity of your voice during video calls or online streaming. To ensure optimal performance, select A610 as your default microphone input in both your computer system settings and video applications (such as Zoom or Teams), and verify that microphone permissions are enabled. Please note: This product does not include built-in speakers.
- Privacy Cover for Extra Security - This webcam for PC features a built-in privacy cover that you can lower to conceal the lens when the camera is not in use. It provides an added layer of security, ensuring privacy while working from home or participating in online meetings
- Flexible Webcam Positioning - Easily adjust the position of your computer camera with 360° rotation for the perfect angle. With a 83° field of view, this webcam ensures you’re always in frame, whether you’re attending a conference, recording a live stream, or teaching an online class
The PDF documentation also notes that waiting for fonts may require bringing a background page to the front. That note is documented for PDF generation; it should not be assumed to be a screenshot-specific requirement.
Quick wins for a faster PC:
Clear out junk files and repair common Windows errorsFree Scan →Fix the driver behind crashes, sound loss and screen glitchesFind Drivers →Troubleshooting font-related screenshot problems
- The capture uses a fallback font: Confirm the relevant face is actually used by the page and check its CSS and loading behavior. Await
document.fonts.readyafter the page reaches the state you intend to capture. - The page is still changing after the font wait: If application code updates content or typography later, wait for that application-specific update before awaiting the font set and taking the screenshot.
- You expected every declared font file to load: The promise covers fonts used by the document, not every declared face. Unused fonts and faces not loaded in time under
font-display: optionalare not guaranteed to download. - You set
waitForFontsin screenshot options: That option is documented for PDF output, not screenshot options. Awaitdocument.fonts.readythroughpage.evaluate()instead. - You expected a viewport image but got the whole page: Remove
fullPage: trueor useclipto define the desired rectangle.
Or skip the browser setup
ScreenshotNeo offers a one-request screenshot API. Its clean-shot steps accept cookie or consent banners and remove more than 60 known consent platforms, newsletter popups, and chat widgets before capture; each step can be turned off. Bot checks or CAPTCHAs, blank pages, timeouts, failed loads, and cache hits are not billed, and the response identifies the page verdict and billing status in headers. It also provides an MCP server with screenshot, page-info, and PDF tools for AI agents.
Use the API key from your ScreenshotNeo account and see the ScreenshotNeo API documentation for request options.
Best Value
- Includes access code
curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://example.com -o shot.webp
The free plan includes 1,000 screenshots per month with no card; paid plans start at $5 for 3,000. Learn about ScreenshotNeo or sign up for 1,000 free screenshots a month with no card.
Frequently Asked Questions
Does document.fonts.ready reject if a web font fails to load?
It resolves when font loading and layout operations for the document’s used fonts are complete; it does not guarantee that every declared font loaded successfully.
What’s actually slowing this PC down?
Pick the symptom - the matching free tool is one click away.
Can I use this approach when capturing an element instead of the page?
Yes. Wait for document.fonts.ready before calling the element’s screenshot() method.
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.




