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
Use Puppeteer’s page.screenshot() to save the CAPTCHA page exactly as it appears in the browser. This documents a visible page state; it does not solve the CAPTCHA, prove that verification succeeded, establish that the site permits automation, or certify the page’s accessibility.
Capture the CAPTCHA page with Puppeteer
The example below navigates to a page, saves the rendered viewport as a PNG, and closes the browser. Replace the URL with the exact page you are authorized to access.
const puppeteer = require('puppeteer');
(async () => {
const browser = await puppeteer.launch({ headless: true });
try {
const page = await browser.newPage();
await page.setViewport({ width: 1365, height: 900 });
await page.goto('https://example.gov.in/page', { waitUntil: 'networkidle2' });
await page.screenshot({ path: 'captcha-page.png' });
} finally {
await browser.close();
}
})();
Install Puppeteer in your project with npm install puppeteer, save the code as a JavaScript file, then run it with Node.js. The URL above is an example only; no specific Indian government page is implied or tested. Puppeteer’s screenshot guide documents this launch, navigation, capture, and save workflow: Puppeteer screenshots. The API reference is at Page.screenshot(); the documentation search identified version 25.12.0.
Choose the screenshot area
A normal screenshot captures the visible viewport. Choose another capture mode when the challenge or its instructions do not fit clearly in that view.
#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
| Capture | How | Useful when | Trade-off |
|---|---|---|---|
| Viewport | page.screenshot({ path: 'captcha.png' }) |
You need the page as currently displayed. | Content outside the viewport is not included. |
| Full page | page.screenshot({ path: 'full.png', fullPage: true }) |
You need the page’s full vertical length. | The CAPTCHA may appear small in a tall image. |
| Clipped region | page.screenshot({ path: 'region.png', clip: { x: 100, y: 200, width: 600, height: 350 } }) |
You want a defined part of the viewport. | Coordinates and dimensions must cover the content you need. |
| Element | await (await page.$('.captcha-container')).screenshot({ path: 'element.png' }) |
You can identify the challenge container with a selector. | The selector must match an attached element; Puppeteer scrolls it into view when needed. |
These options are documented in the Puppeteer screenshot guide. A clipped capture uses page coordinates; an element capture is often more robust when the page layout shifts, but it still depends on a correct selector and an element that remains attached.
Wait for the state you intend to document
Screenshot timing affects what the image shows. A network-idle wait can help when the page finishes loading promptly, but CAPTCHA scripts or other ongoing requests may prevent a network-idle condition. If the navigation wait times out, do not assume the page is blank: inspect the browser state and capture only if the intended content has rendered and doing so is appropriate.
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.
When a known element indicates the page is ready, wait for it before capturing. Puppeteer recommends locators for selecting and interacting with page elements; see Page interactions. Avoid assuming a CAPTCHA has appeared or been accepted based only on elapsed time. Viewport size, page state, load timing, and element attachment can all change the resulting image.
Free tools Windows power users keep installed
One-click scans. No signup required.
What the image can and cannot establish
A screenshot is evidence of what appeared in one browser state. It can document that a CAPTCHA or related prompt was visible at capture time. By itself, it cannot establish:
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.
- That the CAPTCHA was solved or that the site accepted verification.
- That the page is accessible to people with disabilities.
- That automated access is allowed by the particular site’s terms.
- That the page belongs to an official government organization unless the exact URL and owner are verified.
The Guidelines for Indian Government Websites and apps (GIGW) say government websites should use a gov.in or nic.in domain and describe the URL as a strong indicator of official status. Treat that as an authenticity check, not proof about an unspecified screenshot; verify the exact address and owning organization. See GIGW Guidelines.
What Indian government accessibility guidance says about CAPTCHA
GIGW’s accessibility guidance adopts WCAG 2.1 success criteria and includes a CAPTCHA checkpoint. It states: “If the purpose of non-text content is to confirm that content is being accessed by a person rather than a computer, then text alternatives that identify and describe the purpose of the non-text content are provided and alternative forms of CAPTCHA using output modes for different types of sensory perception are provided to accommodate different disabilities.” Read the GIGW accessibility guidance.
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.
That is general evaluation guidance, not a certification of a particular site. GIGW says evaluators manually test the checkpoint and use an accessibility extension, browser plug-in, or web accessibility tool. A screenshot alone cannot perform or prove that evaluation.
What’s actually slowing this PC down?
Pick the symptom - the matching free tool is one click away.
Stay within the page’s access rules
Puppeteer supports mouse, touch, and keyboard interactions, but the documentation does not establish CAPTCHA-specific instructions or permission to automate any particular Indian government website. If access is blocked, consult that site’s terms and support channels. This guide is about capturing the page that is displayed, not bypassing or automatically solving a challenge.
Best Value
- 【Powerful Performance】Equipped with an Intel N150 CPU, featuring up to 4.4 GHz, ensuring efficient and powerful multitasking capabilities.
- 【Versatile Connectivity】Stay connected with multiple ports including USB 3.0 Type-C, USB 3.0 Type-A, and a headphone/mic combo jack, with Wi-Fi and Bluetooth for seamless wireless networking.
Or skip the browser setup
ScreenshotNeo can return a screenshot or PDF from one GET request. Cookie banners are accepted and more than 60 known consent platforms, newsletter popups, and chat widgets are removed before capture; each step can be turned off. Bot checks, blank pages, timeouts, failed loads, and cache hits cost nothing, and response headers indicate the page verdict and billing status. Its MCP server gives AI agents screenshot tools.
For a page you are permitted to capture, the cURL request is:
curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://example.gov.in/page -o shot.webp
See the ScreenshotNeo API documentation for options and response details. Free includes 1,000 screenshots per month with no card; paid plans start at $5 for 3,000. Learn about ScreenshotNeo or sign up free.
Quick Recap
Troubleshooting
- Navigation times out: the page may keep requests open or load slowly. Check whether the intended content rendered before deciding whether to save a screenshot; a timeout is not proof that no page appeared.
- The screenshot misses the CAPTCHA: check whether it is below the fold, delayed, or inside a specific element. Try
fullPage, wait for a relevant page element, or capture the matching element. - The element screenshot fails: confirm the selector matches an attached element at capture time. A changing page can remove or replace the target; wait for the intended element and retry only when appropriate.
- The challenge looks too small: use a viewport capture or clip tightly around the challenge. A full-page image can make a small CAPTCHA difficult to inspect.
- The page shows an access block: record the visible state if permitted, then check the site’s terms or contact its support. Do not treat screenshot code as a way to defeat the block.
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.

