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

Use Selenium’s Java WebDriver screenshot API once per URL in a controlled list, saving each result under a unique filename and recording failures separately. Selenium does not provide a dedicated bulk-screenshot command: your Java code manages the loop, browser sessions, waits, and output files. For full-page images, choose and validate a browser-specific method; an ordinary WebDriver screenshot should not be assumed to capture the entire document.

Build a reliable bulk screenshot workflow

The official Selenium WebDriver documentation demonstrates driver-level and element-level screenshots. Apply that primitive to an explicit URL list. The example below is a sequential baseline: it creates one Chrome session, navigates to each URL, waits for the document to load, writes a uniquely named PNG, and continues after an individual URL fails.

It assumes Java 11 or later, Selenium Java and a compatible Chrome/ChromeDriver setup are already available on the classpath. The documentation cited here does not establish a particular current Selenium release or driver-installation method, so use versions compatible with your environment.

Runnable Java example

import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
import java.time.Duration;
import java.util.List;
import java.util.Locale;
import java.util.regex.Pattern;

import org.openqa.selenium.OutputType;
import org.openqa.selenium.TakesScreenshot;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
import org.openqa.selenium.support.ui.WebDriverWait;

public class CatalogueScreenshots {
    private static final Pattern SAFE = Pattern.compile("[^a-zA-Z0-9._-]+");

    public static void main(String[] args) throws IOException {
        List<String> urls = List.of(
            "https://example.in/catalog/item-one",
            "https://example.in/catalog/item-two"
        );
        Path output = Path.of("screenshots");
        Files.createDirectories(output);

        WebDriver driver = new ChromeDriver();
        try {
            driver.manage().window().setSize(new org.openqa.selenium.Dimension(1440, 1000));
            WebDriverWait wait = new WebDriverWait(driver, Duration.ofSeconds(20));

            for (int i = 0; i < urls.size(); i++) {
                String url = urls.get(i);
                String fileName = String.format(Locale.ROOT, "%04d.png", i + 1);
                try {
                    driver.get(url);
                    wait.until(d -> "complete".equals(
                        ((org.openqa.selenium.JavascriptExecutor) d)
                            .executeScript("return document.readyState")));
                    Path target = output.resolve(fileName);
                    Files.copy(((TakesScreenshot) driver).getScreenshotAs(OutputType.FILE).toPath(), target);
                    System.out.println("OKt" + url + "t" + target);
                } catch (Exception e) {
                    System.err.println("FAILEDt" + url + "t" + e.getClass().getSimpleName()
                        + ": " + e.getMessage());
                }
            }
        } finally {
            driver.quit();
        }
    }
}

Replace the example URLs with an authorized, controlled catalogue URL list. The output uses an ordinal filename to avoid collisions even when two URLs have the same path or slug. For repeatable audit runs, use a stable catalogue item ID in place of the ordinal and write a manifest containing the URL, capture time, viewport, and outcome.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#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

Wait for the content you actually need

The example waits for document.readyState to become complete, which is a useful baseline, not proof that a modern catalogue is visually ready. Client-rendered products, deferred images, consent dialogs, or asynchronous updates can appear later. If the target has a reliable selector marking readiness, wait for that selector with an explicit wait. Avoid treating a fixed sleep as evidence that the page is ready.

Capture an element instead of the viewport

When only a product card or catalogue region is needed, locate its WebElement and capture it rather than saving the whole browser viewport. Selenium’s documentation includes element screenshot capture. In the loop, the core operation is:

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)
WebElement element = driver.findElement(By.cssSelector(".product-card"));
File image = element.getScreenshotAs(OutputType.FILE);
Files.copy(image.toPath(), output.resolve("product-card.png"));

Use a selector confirmed for the actual site; no catalogue-specific selector is established here.

Choose viewport, element, or full-page output

Decide the capture extent before implementing the batch. A driver screenshot commonly represents the current browser context, while an element screenshot targets a particular element. Do not infer a browser-independent full-document screenshot from an ordinary driver screenshot call.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #3
Sale
Canon imageFORMULA R10 - Portable Document Scanner, USB Powered, Duplex Scanning, Document Feeder, Easy Setup, Convenient, Perfect for Mobile Users, White
  • STAY ORGANIZED – Easily convert your paper documents into digital formats like searchable PDF files, JPEGs, and more.Power Consumption : 2.5W or less (Energy Saving Mode: 0.7W). Suggested Daily Volume : 500 scans..Does it contain liquid: no
  • CONVENIENT AND PORTABLE –lightweight and small in size, you can take the scanner anywhere from home offices, classrooms, remote offices, and anywhere in between
  • HANDLES VARIOUS MEDIA TYPES – Digitize receipts, business cards, plastic or embossed cards, reports, legal documents, and more
  • FAST AND EFFICIENT – No technical hurdles or complicated setups here; easily scan both sides of a document at the same time, in color or black-and-white, at up to 12 pages-per-minute, and with a 20 sheet automatic feeder
  • BROAD COMPATIBILITY – Works with both Windows and Mac devices, be it laptop or computer
Need Approach Qualification
Visible browser area Driver-level WebDriver screenshot Consistent viewport settings matter for visual comparison.
One page element WebElement screenshot Requires a valid selector and an element present in the rendered page.
Entire long document Browser-specific full-page method, verified DevTools route, or tested scrolling/stitching approach Support and output behavior depend on browser and version; validate on representative long pages.

Browser-specific full-page options

A secondary Selenium Java tutorial describes FirefoxDriver’s getFullPageScreenshotAs(OutputType.FILE) and a Chrome DevTools Protocol route. These are browser- and version-sensitive approaches; check them against the Selenium and browser versions actually installed before using them in a production batch. Another tutorial resizes the Chrome window to document.documentElement.scrollWidth and scrollHeight before capture. That can produce a tall image, but changing window dimensions may alter responsive breakpoints and make the output unwieldy. Validate the rendered layout rather than treating window resizing as a universal full-page API. See the examples at iTechGuides’ full-page Selenium guide and HTML to Image’s Java and Selenium example.

Lazy-loaded images and dynamic pages

Catalogue images below the fold may load only after scrolling. If they matter, scroll the page in controlled increments and wait for the expected content before capture, then inspect representative output. A scrolling-and-stitching technique can introduce seams, repeated sticky headers, or changed content between segments; browser-native full-page behavior may have different limitations. Neither method guarantees identical handling of overlays, animations, sticky elements, or every site’s rendering.

Keep batch runs diagnosable and comparable

  • Use unique output paths. Derive filenames from stable item IDs or include a sequence number; do not let repeated product slugs overwrite one another.
  • Save as you go. Write each successful image immediately so a later failure does not discard earlier captures.
  • Record outcomes. Keep a manifest with URL, timestamp, browser and version, viewport, result path, and error details.
  • Isolate failures. Catch errors per URL and continue when appropriate; always close the driver in a finally block.
  • Control comparison conditions. Keep browser version, viewport, device scale where configurable, locale, timezone, authentication state, and page-ready condition consistent when comparing snapshots.

Sequential capture is the simplest baseline to debug. If you need concurrency, use a separate WebDriver session and unique output paths per worker, then measure resource use and failure rates before scaling up. The available documentation does not establish a safe worker count or throughput benchmark.

Rank #4
IRIScan Express 4 Black Compact Portable USB Simplex Document Scanner, 8 PPM for Contracts, Invoices and Business Cards, Compatible with Windows, Readiris PDF Included
  • IRIScan Express, portable scanner : scans color and black and white documents a blazing speed up to 8ppm simplex. Color scanning won’t slow you down as the color scan speed is the same as the black and white scan speed.
  • IRIScan Express mobile scanner is powered via an included micro USB 2. 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. USB cable provided. AC Adapter not provided and not needed.
  • IRIScan flatbed scanner uses a simplex scanning mode allows for quick and straightforward scanning of single-sided documents. IRIScan with its full portable features is the ideal document scanners for computers.
  • IRIScan document scanner : Versatile scanning capabilities, including scanning to Word, PDF, and Excel formats with companion software provided Readiris OCR
  • Receipt scanner and card scanner with Additional features include scanning business cards directly to Outlook, photo scanning, and receipt scanning for efficient document management
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Other Java options when the requirement changes

If an existing Java Selenium project is the priority, Selenium’s own screenshot primitive is the direct route. If the task is visual regression testing or a move to another browser automation stack is acceptable, these documented alternatives differ in operational model:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Option Existing Java Selenium code Full-page and element capture Operational model
ScreenshotNeo API call or MCP tools rather than Selenium code Supports full-page capture with lazy images loaded and capture by CSS selector Website screenshot API and MCP server; see ScreenshotNeo.
Selenium WebDriver Direct fit Element capture documented; verify browser-specific full-page implementation Your application manages browser sessions and files.
Percy Selenium integration Uses a Selenium driver Optional fullPage behavior is documented with CLI 1.27.6 or later Adds a visual-testing service and configuration; check current terms and availability.
Playwright Java Requires Playwright Java instead of Selenium Official docs show setFullPage(true) and locator element capture Your application uses Playwright’s page screenshot API.

Sources: Percy Selenium Java integration and Playwright Java screenshot documentation. Percy is relevant when the workflow includes visual testing; it is not required simply to loop over URLs.

Best Value
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

Or skip the browser setup

ScreenshotNeo offers a one-request screenshot API at its API documentation. This cURL example saves a WebP capture of a URL:

curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://stripe.com -o shot.webp

For the catalogue, replace the target URL with a URL you are authorized to capture. The API also accepts the parameter names used by other screenshot APIs, which can make switching easier. Cookie banners, popups, and chat widgets are removed before capture; bot checks, blank pages, and failed loads are never billed. An MCP server lets AI agents take screenshots, and 1,000 screenshots per month are free with no card; paid plans start at $5 for 3,000. Sign up for the free plan.

Troubleshooting common failures

  • ChromeDriver cannot start or the session fails. Check that Chrome and ChromeDriver are installed and compatible, and that the driver is available to Selenium in your environment.
  • The screenshot is blank or missing catalogue content. The page may still be rendering after document readiness. Wait for a meaningful site-specific selector or content condition and inspect the page state before capture.
  • Images below the fold are absent. They may be lazy-loaded. Scroll in controlled increments, wait for images or another observable condition, and verify that the target content has loaded.
  • The output is only the viewport, not the full page. Use a full-page method supported by the selected browser and version, or a tested alternative; do not assume the basic screenshot call captures the full document.
  • Files overwrite or captures go missing. Use unique names and save each result immediately. Log failures per URL rather than aborting the entire loop.
  • The page layout differs between runs. Standardize viewport and other capture conditions. Responsive breakpoints, dynamic content, locale, authentication, and overlays can affect output.
  • Pages show a consent screen, CAPTCHA, or access denial. The behavior is site-specific and may reflect access controls or terms. Do not attempt to bypass restrictions; confirm that capture is authorized and use an appropriate request rate.

Check access and site-specific requirements

“Indian catalogue” describes the intended setting, not a verified site or a tested regional configuration. No particular catalogue, selector, access policy, site terms, or applicable legal rule is established here. Before running a production batch, confirm authorization, the target site’s rules, privacy implications, and an appropriate request rate. This guide is implementation guidance, not legal advice.

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

Quick Recap

SaleBestseller No. 3
Canon imageFORMULA R10 - Portable Document Scanner, USB Powered, Duplex Scanning, Document Feeder, Easy Setup, Convenient, Perfect for Mobile Users, White
Canon imageFORMULA R10 - Portable Document Scanner, USB Powered, Duplex Scanning, Document Feeder, Easy Setup, Convenient, Perfect for Mobile Users, White
BROAD COMPATIBILITY – Works with both Windows and Mac devices, be it laptop or computer; This product is not intended for scanning photographs on photo paper / photographic media
$153.00
Bestseller No. 4
IRIScan Express 4 Black Compact Portable USB Simplex Document Scanner, 8 PPM for Contracts, Invoices and Business Cards, Compatible with Windows, Readiris PDF Included
IRIScan Express 4 Black Compact Portable USB Simplex Document Scanner, 8 PPM for Contracts, Invoices and Business Cards, Compatible with Windows, Readiris PDF Included
Find our Software here : irislink.com/start; IRIScan Express is only compatible Windows platform and not macintosh
$129.00
Bestseller No. 5
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.