Use Puppeteer’s page.screenshot() on a page you are authorized to capture. For documentation or testing, start with a public UIDAI information page; avoid capturing authenticated myAadhaar screens containing personal details, credentials, or e-KYC material. The example below saves a full-page PNG, but check the installed Puppeteer version for exact API options.
Capture a public UIDAI page with Puppeteer
Install Puppeteer in a Node.js project, then run this example. It opens UIDAI’s public information site, waits for a network-idle condition, and writes a full-page PNG.
As an Amazon Associate I earn from qualifying purchases.
import puppeteer from 'puppeteer';
const browser = await puppeteer.launch({ headless: true });
try {
const page = await browser.newPage({
viewport: { width: 1440, height: 1000 },
});
await page.goto('https://uidai.gov.in/', { waitUntil: 'networkidle2' });
await page.screenshot({ path: 'uidai-page.png', fullPage: true });
} finally {
await browser.close();
}
Save this as an ES module (for example, capture.mjs) in a project where Puppeteer is installed, then run node capture.mjs. The example is illustrative rather than tested against the live site; a page’s network activity may not reach the selected wait state. Puppeteer’s official Page.screenshot() API documents a default Uint8Array result and a base64-string overload. The API page displayed Puppeteer v25.12.0 when consulted; confirm option names against the version installed in your project.
Choose the right page and wait condition
- Verify the target. UIDAI identifies uidai.gov.in and associated portals, including myAadhaar, as its websites. Capture only a page you are authorized to access.
- Prefer public information pages. UIDAI describes its main site as primarily informational and associated portals as service portals. A service may request an Aadhaar number or VID, mobile number, and OTP; the screenshot method itself does not require those details. Do not automate authentication merely to make an image.
- Set the viewport for the intended rendering. Change the width and height to match the desktop or mobile view you need. Use a page-specific readiness condition:
networkidle2is only an example, not a universal guarantee that all visible content has finished rendering. - Capture and inspect.
fullPage: truecaptures beyond the viewport. Review the resulting image before sharing or publishing it.
Protect Aadhaar information and credentials
A screenshot preserves whatever is visible on screen. Keep Aadhaar numbers and VIDs, OTPs, passwords, account details, demographic information, and private e-KYC contents out of any image intended for sharing. UIDAI’s policy says users are responsible for maintaining credential confidentiality and describes service portals that may involve personal information and authentication. For an authorized internal workflow that genuinely needs an authenticated view, restrict access to the image and redact sensitive details before wider distribution.
#1 Best Overall
- FULL HD IPS DISPLAY - Enjoy vibrant, crystal-clear images with 178-degree wide-viewing angles
- AMD RYZEN 3 30 PROCESSOR - Everyday performance you can count on; Multitask, stream, game casually, and edit photos smoothly with responsive power and vibrant HDR visuals
- ENJOY UP TO 14 HOURS AND 15 MINUTES OF BATTERY LIFE - HP Fast Charge restores battery from 0 to 50% in approximately 45 minutes
- AMD RADEON 610M GRAPHICS - Experience smooth entertainment; Built for streaming and multitasking, enjoy realistic visuals and efficient performance for work and play
- STORAGE AND MEMORY - 512 GB PCIe NVMe M.2 SSD offers fast speed and efficient storage; and 8 GB LPDDR5 RAM memory boosts performance with higher bandwidth
UIDAI’s FAQ specifically says service providers shall not share, publish, or display offline e-KYC XML, share codes, or their contents. That statement is directed at service providers; by itself, it does not settle every legal rule for every screenshot situation. Read the UIDAI FAQ on offline e-KYC and apply the relevant rules to your role and use case.
Check attribution and reuse before publishing
UIDAI’s website policy asks that reproduced material remain accurate and not be presented misleadingly, and requests UIDAI acknowledgement and the source-page URL. It also says research or private-study extracts are not for sale or commercial use. Check the applicable policy and any third-party rights before publishing a screenshot; the policy does not resolve every specific licensing question.
Rank #2
- Intel Celeron N4120: 4 Cores & Threads, 1.1GHz Base Clock, Up to 2.6GHz Boost Clock, 4MB Cache, Intel UHD Graphics 600. The perfect combination of performance, power consumption, and value helps your device handle multitasking smoothly and reliably with four processing cores to divide up the work.
Or skip the browser setup
If you only need an image or PDF of a public page, ScreenshotNeo can return one with a single GET request. Replace the example target with the page you are authorized to capture:
The Tool Desk
Outbyte Driver Updater FREEFix the driver behind crashes, sound loss and screen glitchesFind Drivers →Outbyte PC Repair FREERepair Windows errors before they cause bigger problemsFix Now →curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://uidai.gov.in/ -o shot.webp
See the ScreenshotNeo API documentation for request options. Cookie banners are accepted and removed before capture; newsletter popups and chat widgets are removed as well. Bot checks, blank pages, and failed loads are never billed. An MCP server provides screenshot tools for AI agents, and the free plan includes 1,000 shots per month with no card; paid plans start at $5 for 3,000 shots. Do not use a screenshot service to bypass authentication or capture someone’s private Aadhaar information. Sign up for 1,000 free screenshots a month with no card.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Frequently Asked Questions
Does Puppeteer’s screenshot method return an image file by default?
No. Without a file path, the documented default result is a Uint8Array; the API also has a base64-string overload.
Rank #3
- Stunning 15.6" FHD IPS Display: Experience crisp 1920x1080 resolution on this 15.6 inch laptop with an IPS panel that delivers wide viewing angles and vivid colors. The narrow-bezel design maximizes screen real estate for comfortable viewing on this Win 11 laptop, whether you're studying or working.
- Celeron J4105 Processor & 256GB SSD: Powered by a reliable Celeron J4105 processor paired with 12GB DDR4 memory and a fast 256GB M.2 SSD. This laptop computer supports SSD expansion up to 2TB and TF card expansion up to 1TB, so your storage grows with your needs. Delivers smooth multitasking for daily productivity.
- AI-Powered Win 11 Laptop: Built-in AI features enhance your productivity with smart assistance for writing, summarizing, and task management. Pre-installed with Win 11 and includes Office 365 subscription. This student laptop is backed by 1-year warranty and 24/7 customer support.
- All-Day 7000mAh Battery & 180° Hinge: The high-capacity 7000mAh battery keeps this laptop powered through long classes or meetings. The 180-degree lay-flat hinge lets you share your screen effortlessly during presentations. This durable laptop computer adapts to your dynamic workflow.
- Versatile Connectivity Hub: Equipped with USB 3.2, Type-C, Mini HDMI, and 3.5mm audio jack to connect all your peripherals. Stay online anywhere with high-speed 5G WiFi and Bluetooth 4.2. This college laptop keeps you connected at home, in the library, or on the go.
Can I use this workflow to automate OTP-protected myAadhaar pages?
This guide does not advise automating Aadhaar authentication. Use public pages when possible, and do not capture or share credentials or personal Aadhaar information.
Quick Recap
Best Value
- 【Expansive Display】The 14 Non-touch display offers clear, and anti-glare coating, perfect for both work and entertainment.
- Designed for mobility with a slim 0.71-inch profile and lightweight, making it easy to carry between home, office
- 【Versatile Connectivity】 connected with multiple ports including USB 3.0 Type-C, and a headphone/mic combo jack, with Wi-Fi and Bluetooth for seamless wireless networking.
- One Year Microsoft 365
Rank #4
- Efficient Performance for Everyday Computing: Powered by Intel N150 processor with up to 3.6 GHz Intel Turbo Boost Technology, 6 MB L3 cache, 4 cores, and 4 threads, this HP laptop delivers responsive performance for web browsing, streaming, document editing, and multitasking. Paired with 4GB LPDDR5 RAM and 128GB UFS storage, it handles daily tasks smoothly. Includes 1-year Microsoft 365 Personal subscription for Word, Excel, PowerPoint, and cloud storage to maximize your productivity.
- 14-Inch HD Micro-Edge Display:Enjoy clear visuals on the 14-inch HD (1366 x 768) anti-glare screen with 250-nit brightness and 62.5% sRGB coverage. The micro-edge bezel delivers a 79% screen-to-body ratio in a compact design. An HP True Vision 720p HD camera with noise reduction and dual-array microphones supports clear video calls, remote work, and online learning.
- Modern Connectivity and Wireless Technology: Stay connected with Wi-Fi 6 (2x2) for faster wireless speeds and Bluetooth 5.4 for seamless pairing with accessories. Versatile port selection includes 1 USB Type-C 10Gbps with DisplayPort 1.2 for external displays, 2 USB Type-A 5Gbps ports for peripherals, 1 HDMI 1.4b port, 1 headphone/microphone combo jack, and 1 multi-format SD media card reader. Connect monitors, transfer files quickly, and expand your workspace with ease.
- All-Day Battery Life and Portable Design: Enjoy up to 11 hours of video playback, 7.5 hours of mixed usage, or 7.5 hours of wireless streaming on a single charge, perfect for students and professionals on the go. Weighing just 3.24 lb and measuring 12.76" x 8.86" x 0.71", this lightweight laptop fits easily in backpacks and bags. The stylish willow green top cover with matte finish and natural silver keyboard deck with vertical brushing pattern offer a modern, professional look.
- AI-Enhanced Productivity: Access Microsoft Copilot instantly with the dedicated Copilot key for faster assistance. AI Noise Reduction filters background sounds and improves voice clarity during calls. Dual speakers provide clear audio, while the full-size natural silver keyboard and HP Imagepad support comfortable typing and navigation.
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.

