Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

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 a browser automation tool such as Playwright to open the page, wait for it to reach the state you want to document, and save a screenshot. Set fullPage: true for the complete scrollable page; omit it for the visible viewport, or capture a selected element for a specific panel. Verify the site and its policies first, and stop for human review if a CAPTCHA or other human-verification step appears.

Choose the right screenshot for the task

Playwright supports screenshots of the visible page, the full scrollable page, a selected element, and image bytes returned as a buffer. Choose based on what you need to preserve:

  • Viewport: the screen currently visible in the browser.
  • Full page: the page’s entire scrollable document in one capture.
  • Element: a particular component, such as a notice or data panel.
  • Buffer: image bytes for a later step in your workflow instead of a saved file.

A full-page image records one rendered state. It does not show how the same page looks across all browsers, screen sizes, or dates.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Check the government site before capturing

The Guidelines for Indian Government Websites and Apps (GIGW) apply to government websites and applications at central, state, and local levels. GIGW says that a site’s URL is a strong indicator of whether it is official; gov.in and nic.in domains are strong signals, with exceptions described for certain eligible educational and research institutions. Treat the domain as a signal, not proof: check the exact host, page ownership, and route before capture. See the GIGW guidance.

#1 Best Overall
Sale
Epson Workforce ES-50 Compact & Lightweight Mobile Document Scanner
  • PORTABLE SCANNER FOR USE ON-THE-GO — The fastest and lightest mobile single-sheet-fed compact document scanner in its class¹
  • QUICK DOCUMENT SCANNING ― This Epson ultra-fast scanner scans a single page as quickly as 5.5 seconds²; Windows and Mac compatible
  • VERSATILE PAPER HANDLING ― Portable scanner scans documents up to 8.5 x 72 in; Also easily digitizes receipts and ID cards to make accounting, bookkeeping, and organizing simpler
  • INTUITIVE, HIGH-SPEED SOFTWARE — Epson ScanSmart Software³ is a smart tool allowing you to easily scan, review, and save; Stay organized easily with the help of this Epson scanner
  • EASY SETUP — USB-powered connect to your computer for quick and simple scanning; No batteries or external power supply required to operate portable document scanner; Standard Connectivity: USB 2.0

Before publishing or redistributing an image, read the specific site’s terms, copyright policy, and privacy or security notices. IGOD’s terms explain that linked external sites can have separate privacy and security policies, and that NIC cannot authorize third-party copyrighted material on those sites. That is not a blanket permission rule for all government sites or uses. When reporting with a screenshot, identify the source page and capture date, and obtain any permission required by the rights holder. See the IGOD terms and conditions.

Capture a full-page screenshot with Playwright

The example below uses Node.js and Playwright’s page screenshot method. Set targetUrl to the exact page you are authorized to access. The readiness condition should reflect the page: waiting for a known heading or content element is often more reliable than assuming navigation alone means the page is ready.

Rank #2
Sale
Brother DS-640 Compact Mobile Document Scanner, (Model: DS640)
  • FAST SPEEDS - Scans color and black and white documents a blazing speed up to 16ppm (1). Color scanning won’t slow you down as the color scan speed is the same as the black and white scan speed.
  • ULTRA COMPACT – At less than 1 foot in length and only about 1. 5lbs in weight you can fit this device virtually anywhere (a bag, a purse, even a pocket).
  • READY WHENEVER YOU ARE – The DS-640 mobile scanner is powered via an included micro USB 3. 0 cable allowing you to use it even where there is no outlet available. Plug it into you PC or laptop and you are ready to scan.
  • WORKS YOUR WAY – Use the Brother free iPrint&Scan desktop app for scanning to multiple “Scan-to” destinations like PC, Network, cloud services, Email and OCR. (2) Supports Windows, Mac and Linux and TWAIN/WIA for PC/ICA for Mac/SANE drivers. (3)
  • OPTIMIZE IMAGES AND TEXT – Automatic color detection/adjustment, image rotation (PC only), bleed through prevention/background removal, text enhancement, color drop to enhance scans. Software suite includes document management and OCR software. (4)
const { chromium } = require('playwright');

(async () => {
  const targetUrl = 'https://www.example.gov.in/';
  const browser = await chromium.launch();
  const page = await browser.newPage({ viewport: { width: 1365, height: 900 } });

  try {
    await page.goto(targetUrl, { waitUntil: 'domcontentloaded' });
    // Replace this with a selector that signals readiness on the target page.
    // await page.locator('main').waitFor({ state: 'visible', timeout: 15000 });

    await page.screenshot({ path: 'government-page.png', fullPage: true });
    console.log({
      finalUrl: page.url(),
      capturedAt: new Date().toISOString(),
      viewport: page.viewportSize(),
      screenshot: 'full-page',
      title: await page.title()
    });
  } finally {
    await browser.close();
  }
})();

Install Playwright and its browser before running this script, using the installation instructions for your environment in the official Playwright screenshot guide. The sample is documentation-based, not a claim of successful testing on a particular Indian government website.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Capture only the visible viewport

To save only what is currently on screen, omit fullPage:

Rank #3
Sale
Epson Workforce ES-400 II High-Speed Color Duplex Desktop Document Scanner
  • FAST DOCUMENT SCANNING — Document scanner with feeder allows you to speed through stacks with a 50-sheet Auto Document Feeder (ADF); Efficient office scanner to help you scan more productively
  • INTUITIVE, HIGH-SPEED SOFTWARE — Quickly scan with this desktop document scanner; Epson ScanSmart Software lets you easily preview scans, email files, upload to the cloud, and more; Plus, automatic file naming saves even more time
  • SEAMLESS INTEGRATION — Easily incorporate your data into most document management software with the included TWAIN driver; Office document scanner integrates seamlessly with business workflows
  • EASY SHARING — Duplex scanner allows you to scan straight to email or popular cloud storage2 services like Dropbox, Evernote, Google Drive, and OneDrive for simple storage and sharing
  • SIMPLE FILE MANAGEMENT — Scanner allows the creation of searchable PDFs with Optical Character Recognition (OCR) and convert scans to editable Word or Excel files effortlessly; Designed for home and office document scanning
await page.screenshot({ path: 'viewport.png' });

Capture one element

Use a locator’s screenshot method when the goal is a single component rather than the page around it:

await page.locator('main .notice').screenshot({ path: 'notice.png' });

Replace the CSS selector with a stable selector present on the target page. If it matches no element or matches an unexpected one, inspect the page and adjust the selector before saving the image.

Rank #4
Canon Canoscan Lide 300 Scanner (PDF, AUTOSCAN, Copy, Send)
  • Scanner type: Document
  • Connectivity technology: USB
  • With Auto Scan Mode, the scanner automatically detects what you're scanning
  • Digitize documents and images

Return image bytes instead of writing a file

For an image-processing or upload step, capture a buffer and pass the returned bytes onward:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
const imageBytes = await page.screenshot({ fullPage: true });

Record the final URL, capture time, viewport dimensions, screenshot scope, and any visible error, redirect, or interstitial alongside the image. These details make it easier to interpret or reproduce the capture.

Best Value
Sale
ScanSnap iX2500 Wireless or USB High-Speed Document Scanner, Black
  • OUR MOST ADVANCED SCANSNAP. Large touchscreen, fast 45ppm double-sided scanning, 100-sheet document feeder, Wi-Fi and USB connectivity, automatic optimizations, and support for cloud services. Upgraded replacement for the discontinued iX1600
  • CUSTOMIZABLE. SHARABLE. Select personalized profiles from the touchscreen. Send to PC, Mac, mobile devices, and clouds. QUICK MENU lets you quickly scan-drag-drop to your favorite computer apps
  • STABLE WIRELESS OR USB CONNECTION. Built-in Wi-Fi 6 for the fastest and most secure scanning. Connect to smart devices or cloud services without a computer. USB-C connection also available
  • PHOTO AND DOCUMENT ORGANIZATION MADE EFFORTLESS. Easily manage, edit, and use scanned data from documents, receipts, photos, and business cards. Automatically optimize, name, and sort files
  • AVOIDS PAPER JAMS AND DAMAGE. Features a brake roller system to feed paper smoothly, a multi-feed sensor that detects pages stuck together, and skew detection to prevent paper damage and data loss
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Handle responsive pages and human checks responsibly

GIGW guidance calls for checking sites across browsers and versions, operating systems, connection speeds, and screen resolutions. A screenshot documents one browser and viewport state only. For a responsive comparison, capture the same page at each viewport of interest and note the browser and dimensions for every image.

GIGW’s accessibility guidance incorporates WCAG 2.1, including text alternatives for non-text content, alternatives for CAPTCHA, and accessible versions of scanned documents. A screenshot alone may not communicate all of that context; preserve relevant accessibility notes when documenting a page. Do not ask an agent to solve or bypass CAPTCHA. Stop at the challenge and have an authorized person complete any human verification or protected step.

Troubleshoot common capture problems

  • The image shows a loading state: navigation completion may precede page-specific content. Wait for a meaningful page element or an appropriate readiness signal before capturing.
  • The page redirects or shows an interstitial: check the final URL and visible page state. Record the redirect or interstitial rather than presenting the image as the intended page.
  • A CAPTCHA appears: stop automation and hand off to an authorized human; do not attempt to defeat the challenge.
  • The full-page capture is incomplete or unexpectedly long: inspect whether content loads only as the page scrolls, and whether the site changes layout or content during capture. Capture only after the intended content is present.
  • An element screenshot fails: confirm that the selector identifies a visible element on the current page and that any navigation or rendering needed to create it has completed.
  • The image is hard to interpret later: retain the source URL, final URL, timestamp, browser and viewport context, capture scope, and any error or access notice.

Or skip the browser setup

ScreenshotNeo can return a screenshot or PDF from one API request. For a full-page capture, use the full_page parameter:

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
curl -G "https://api.screenshotneo.com/v1/shot" 
  -d access_key=YOUR_API_KEY 
  --data-urlencode url=https://www.example.gov.in/ 
  -d full_page=true 
  -o government-page.webp

See the ScreenshotNeo API documentation for parameter details. Cookie and consent banners are accepted and removed before capture, along with supported newsletter popups and chat widgets; each step can be turned off. Bot checks or CAPTCHAs, blank pages, timeouts, failed loads, and cache hits are not billed, and the response indicates the page verdict and billing status. An MCP server offers screenshot tools for AI agents, including take_screenshot, get_page_info, and capture_pdf. The Free plan includes 1,000 screenshots per month without a card; paid plans start at $5 for 3,000 screenshots. Sign up for 1,000 free screenshots a month, with no card required.

Frequently Asked Questions

Does a full-page screenshot show how every visitor sees a government website?

No. It records a rendered state in one browser and viewport context; appearance can vary by browser, device, screen size, and date.

Can an AI agent get past a CAPTCHA to take the screenshot?

Do not automate around CAPTCHA or other human checks. Stop at the challenge and ask an authorized person to complete the protected step.

Quick Recap

Bestseller No. 4
Canon Canoscan Lide 300 Scanner (PDF, AUTOSCAN, Copy, Send)
Canon Canoscan Lide 300 Scanner (PDF, AUTOSCAN, Copy, Send)
Scanner type: Document; Connectivity technology: USB; With Auto Scan Mode, the scanner automatically detects what you're scanning
$75.00

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.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.