What’s actually slowing this PC down?
Pick the symptom - the matching free tool is one click away.
कई URLs के screenshots लेने के लिए एक Puppeteer browser शुरू करें, हर URL के लिए अलग page खोलें, सही viewport और readiness condition तय करें, फिर Page.screenshot() से फ़ाइल सहेजें। छोटी सूची के लिए sequential loop सरल है; बड़ी सूची में सीमित worker pool इस्तेमाल करें—Puppeteer कोई सार्वभौमिक सुरक्षित concurrency संख्या नहीं बताता।
ज़रूरी setup और तरीका चुनना
Puppeteer की आधिकारिक documentation में संस्करण 25.12.0 दर्ज है। इस उदाहरण में Node.js का ES module syntax और Puppeteer package इस्तेमाल होता है। अपने project में package स्थापित करें:
npm install puppeteer
एक browser instance के भीतर कई pages बनाए जा सकते हैं, और हर page का viewport अलग हो सकता है। छोटे बैच को क्रम से चलाना आसान है; bounded parallelism तभी चुनें जब मशीन के संसाधन और target websites पर उसका असर जाँच सकें। आधिकारिक API कोई निश्चित सुरक्षित worker count या throughput guarantee नहीं देती। Puppeteer screenshots guide और Browser API देखें।
छोटी URL सूची के लिए sequential screenshots
नीचे का script browser को एक बार launch करता है, प्रत्येक URL के लिए page बनाता और बंद करता है, और एक URL विफल होने पर बाकी URLs पर प्रयास जारी रखता है। यह illustrative pattern है, tested run का दावा नहीं। चलाने से पहले output directory बना लें:
Free tools Windows power users keep installed
One-click scans. No signup required.
#1 Best Overall
- 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.
mkdir -p screenshots
इसे capture.mjs में सहेजें और चलाएँ:
import puppeteer from 'puppeteer';
const urls = [
'https://example.com',
'https://example.org',
];
const browser = await puppeteer.launch();
const results = [];
try {
for (const [index, url] of urls.entries()) {
const outputPath = `screenshots/page-${index + 1}.png`;
let page;
try {
page = await browser.newPage();
await page.setViewport({ width: 1365, height: 900 });
const response = await page.goto(url, {
waitUntil: 'load',
timeout: 30_000,
});
if (response && response.status() >= 400) {
throw new Error(`HTTP ${response.status()} for ${url}`);
}
await page.screenshot({ path: outputPath, fullPage: true });
results.push({ url, outputPath, ok: true });
} catch (error) {
results.push({ url, outputPath, ok: false, error: String(error) });
console.error(`Failed: ${url}`, error);
} finally {
if (page) await page.close();
}
}
} finally {
await browser.close();
}
console.log(JSON.stringify(results, null, 2));
Page.goto() expects a URL with a scheme, such as https://. In headless shell mode, a valid HTTP response such as 404 or 500 does not necessarily reject navigation, so inspect response.status() when HTTP errors should count as failures. Page.goto() API
Why one page per URL
A page per capture keeps navigation and screenshot settings independent while reusing one browser process. The finally blocks close each page and then the browser even if a capture fails. A stable index in each filename prevents collisions; avoid putting raw, arbitrary URL text directly into filesystem paths.
Rank #2
- 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.
Change the captured area or image format
fullPage: true captures the whole document rather than only the configured viewport. Omit it or set it to false for a viewport shot. Screenshot options also include clip for a specified region, type for PNG, JPEG or WebP where supported, and quality for lossy formats; quality does not apply to PNG. ScreenshotOptions API
The Tool Desk
Outbyte PC Repair FREERepair Windows errors before they cause bigger problemsFix Now →Outbyte Driver Updater FREEScan for outdated or missing drivers - takes under a minuteDriver Scan →await page.screenshot({
path: 'screenshots/region.jpg',
type: 'jpeg',
quality: 80,
clip: { x: 0, y: 0, width: 700, height: 500 },
});
कई URLs के लिए bounded parallel workers
जब URLs की सूची बड़ी हो, fixed worker pool एक साथ सक्रिय pages की संख्या नियंत्रित करता है। नीचे CONCURRENCY केवल उदाहरण का configuration है, सार्वभौमिक recommendation नहीं। इसे अपने host की memory/CPU और target sites के व्यवहार के अनुसार कम से शुरू करके समायोजित करें।
import puppeteer from 'puppeteer';
const urls = [
'https://example.com',
'https://example.org',
'https://iana.org',
];
const CONCURRENCY = 3; // उदाहरण; अपने वातावरण के अनुसार tune करें
const results = new Array(urls.length);
let nextIndex = 0;
const browser = await puppeteer.launch();
async function worker() {
while (true) {
const index = nextIndex++;
if (index >= urls.length) return;
const url = urls[index];
const outputPath = `screenshots/page-${index + 1}.png`;
let page;
try {
page = await browser.newPage();
await page.setViewport({ width: 1365, height: 900 });
const response = await page.goto(url, {
waitUntil: 'load',
timeout: 30_000,
});
if (response && response.status() >= 400) {
throw new Error(`HTTP ${response.status()} for ${url}`);
}
await page.screenshot({ path: outputPath, fullPage: true });
results[index] = { url, outputPath, ok: true };
} catch (error) {
results[index] = { url, outputPath, ok: false, error: String(error) };
console.error(`Failed: ${url}`, error);
} finally {
if (page) await page.close();
}
}
}
try {
await Promise.all(
Array.from({ length: Math.min(CONCURRENCY, urls.length) }, () => worker()),
);
} finally {
await browser.close();
}
console.log(JSON.stringify(results, null, 2));
हर worker URL index अलग claim करता है, इसलिए output path unique रहता है। Promise.all() workers के पूरा होने तक प्रतीक्षा करता है; उसके बाद ही browser बंद होता है। Parallel captures अधिक CPU, memory और destination-site requests लेते हैं, इसलिए अधिक workers को स्वतः तेज़ या बेहतर न मानें।
Rank #3
- 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.
Navigation readiness और browser state
कब navigation पूरी मानी जाए
waitUntil: 'load' सामान्य page load event की प्रतीक्षा करता है और Puppeteer का documented default भी यही है। Documentation में navigation timeout का default 30 सेकंड है। ये defaults हर site के इच्छित visual state के लिए सही हों, यह आवश्यक नहीं: single-page app, देर से render होने वाली सामग्री या lazy-loaded images को अलग प्रतीक्षा चाहिए।
यदि किसी खास element के दिखने के बाद ही screenshot चाहिए, तो navigation के बाद selector की प्रतीक्षा करें:
await page.goto(url, { waitUntil: 'domcontentloaded', timeout: 30_000 });
await page.waitForSelector('[data-ready="true"]', { timeout: 10_000 });
await page.screenshot({ path: outputPath, fullPage: true });
networkidle भी उपलब्ध lifecycle विकल्प है, लेकिन हर app में network activity रुकना अपेक्षित दृश्य तैयार होने का भरोसेमंद संकेत नहीं होता। अपनी जरूरत के मुताबिक lifecycle या application-specific selector चुनें। विकल्प और timeout विवरण WaitForOptions API में हैं।
Rank #4
- 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
Viewport और full-page capture
Viewport का आकार navigation से पहले सेट करें, क्योंकि responsive layout उसी पर निर्भर हो सकता है। viewport screenshot केवल उस दृश्य क्षेत्र को लेता है; fullPage: true पूरे document को लेता है। एक खास element का screenshot चाहिए तो उसे selector से खोजकर element screenshot लें; इससे बाकी page अनावश्यक रूप से capture नहीं होता। Screenshots guide
Pages साझा करें या state अलग रखें
एक ही browser context की pages में session state साझा हो सकती है। यदि हर URL को अलग cookies या local storage के साथ चलाना हो, तो अलग BrowserContexts बनाएँ और उनमें pages खोलें। Context storage को isolate करने के लिए है; उसे हर capture के लिए आवश्यक न मानें। BrowserContext API
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.आम समस्याएँ और उनके समाधान
- “Invalid URL” या navigation विफल: URL में
https://याhttp://scheme शामिल करें और input सूची जाँचें। - 404/500 के बावजूद screenshot बन रहा है: navigation का पूरा होना HTTP सफलता की गारंटी नहीं।
page.goto()के response का status जाँचें और अपने नियम के अनुसार उस URL को विफल दर्ज करें। - Screenshot में सामग्री अधूरी है: navigation lifecycle बदलें या app के ready selector का इंतजार करें। केवल मनमाना delay जोड़ने से readiness की गारंटी नहीं मिलती।
- लंबे page का निचला हिस्सा खाली है:
fullPage: trueसुनिश्चित करें। lazy-loaded images हों तो screenshot से पहले page को क्रमशः scroll करके सामग्री लोड कराएँ; फिर अंतिम स्थिति में capture करें। - फ़ाइल नहीं लिखी जा रही: output directory पहले बनाएँ, path में लिखने की अनुमति जाँचें, और हर URL के लिए अलग filename दें।
- एक failure पर पूरी batch रुकती है: हर URL का capture अपने
try/catchमें रखें, जैसा उदाहरणों में है; इससे बाकी URLs भी आज़माए जाते हैं। - Parallel run धीमा या अस्थिर: worker संख्या घटाएँ। कोई आधिकारिक सार्वभौमिक सुरक्षित संख्या नहीं है; क्षमता और target-site limits वातावरण के अनुसार बदलते हैं।
- Cookies के कारण अलग URLs पर अलग परिणाम: यह तय करें कि shared session चाहिए या isolated storage; जरूरत पड़ने पर अलग browser contexts बनाएं।
Or skip the browser setup
ScreenshotNeo एक वेबसाइट screenshot API और MCP server है। URL देकर एक GET request से PNG, JPEG, WebP या PDF लिया जा सकता है। API दस्तावेज़: ScreenshotNeo docs.
Quick wins for a faster PC:
Repair Windows errors before they cause bigger problemsFix Now →Scan for outdated or missing drivers - takes under a minuteDriver Scan →Clear out junk files and repair common Windows errorsFree Scan →Best Value
- 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.
curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://stripe.com -o shot.webp
इस विकल्प में cookie/consent banners visitor की तरह स्वीकार किए जाते हैं और 60 से अधिक ज्ञात consent platforms, newsletter popups तथा chat widgets हटाए जाते हैं; हर चरण बंद किया जा सकता है। Bot checks/CAPTCHAs, blank pages, timeouts, failed loads और cache hits के लिए शुल्क नहीं लगता; response में X-Page-Verdict और X-Billed headers बताते हैं कि क्या हुआ। Claude, Cursor और अन्य MCP clients के लिए take_screenshot, get_page_info और capture_pdf tools वाला MCP server भी है। Free plan में बिना card 1,000 screenshots प्रति माह हैं; paid plans $5 में 3,000 से शुरू होते हैं।
ScreenshotNeo पर मुफ्त खाता बनाएँ और बिना card 1,000 screenshots प्रति माह से शुरू करें।
Frequently Asked Questions
क्या Puppeteer में browser launch किए बिना screenshots लिए जा सकते हैं?
नहीं। Puppeteer को page render करने के लिए browser instance चाहिए; एक बार launch करके उसी में कई pages पुनः इस्तेमाल किए जा सकते हैं।
क्या Puppeteer हर URL पर एक जैसा screenshot देगा?
नहीं। दृश्य परिणाम viewport, page state, session storage, समय और site के rendering व्यवहार पर निर्भर करता है। समान viewport और स्पष्ट readiness condition से captures अधिक तुलनीय बनते हैं।
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 reinstallCrashes, No Sound, or Screen Glitches?
Random freezes, missing sound and display glitches usually trace back to one bad driver. Find and replace yours safely.Free scan · under a minuteQuick 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.

