Do these 3 things before closing this tab:
1Clear out junk files and repair common Windows errors2Fix the driver behind crashes, sound loss and screen glitches3Repair Windows errors before they cause bigger problemsiTechGuides 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 capture the page after it reaches the passenger-entry stage, or ElementHandle.screenshot() to capture only a selected element. For examples you plan to share, enter fictional passenger details on a local mock or an authorized test page; redact identifying information from any real capture.
Where passenger entry sits in the IRCTC booking flow
IRCTC’s Book E-Ticket guide describes choosing a train, entering passenger names, ages, sex and berth preferences, then reviewing availability and fare and selecting a payment option. After successful payment and booking, the guide says confirmation details and a print reservation slip option are shown.
This describes the broad sequence, not a guaranteed current layout or a fixed set of fields on every page. Puppeteer’s screenshot methods capture browser content; they are not an IRCTC-specific integration. The cited documentation does not establish whether automating a live IRCTC booking is permitted or reliable, so the example below assumes you already have an authorized page in the intended state. It does not log in, enter real passenger data, submit a booking, or bypass a challenge.
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 →Capture the page or just the passenger form
Capture the page
Use Page.screenshot() when you need the visible page as a whole. Puppeteer’s Page.screenshot API returns image data; with a path option, it writes the image to that file. This example uses a placeholder for an authorized test page already displaying the desired state:
#1 Best Overall
- Bluetooth Wireless Connection: KNAON Bluetooth shipping label printer enables wireless printing. For Mobile users, download the 'FlashLabel Pro' app from APP Store or Google Play for printing. Also, supports Windows and macOS, and can directly connect to the printer by downloading the 'FlashLabel Pro' App. Windows 7 or later computers can also print via Bluetooth by installing the latest advanced driver. Note: All devices CANNOT be connected directly to Bluetooth, and must be used through the 'FlashLabel Pro' app.
- USB Cable Connectivity: This printer ensures seamless USB connectivity with macOS, Windows (7 and above), ChromeOS, and Linux. KNAON printer features a built-in USB drive preloaded with drivers and tutorial videos for a fast and hassle-free setup. For ChromeOS, need to install 'FlashLabel' extension to your Google Chrome.
- Versatile DIY Labeling Options: KNAON Thermal Shipping Label Printer offers a vast selection of pre-designed templates, including 3,000+ templates, 5,000+ icons, and 100+ fonts available in the app. Designed for both professional and personal use, it supports various thermal paper sizes, ensuring effortless customization for all your labeling needs. Ideal for printing DIY shipping labels, barcode labels, thank-you labels, mailing labels, name tags, price tags, and various small thermal labels.
- Seamless Multi-Platform Compatibility: This Bluetooth shipping label printer works effortlessly with all major platforms, including Amazon, eBay, Shopify, USPS, UPS, Etsy, PayPal, Poshmark, DHL, and more, ensuring smooth and efficient label printing. (Note: Save the logistics label as a PDF file on the shipping platforms, then import it into the 'FlashLabel Pro' app for printing).
- Portable & Stylish Design: KNAON multi-function thermal label printer offers user-friendly operation in a compact design. Its perfect size (7.17 x 3.9 x 3.43 inches) makes it simple to store anywhere. With a fast printing speed of up to 180 mm/s and support for paper widths from 1.5 to 4.2 inches. The package also includes 10 test printing papers to get you started right away.
await page.goto(testPageUrl);
await page.screenshot({ path: 'booking-page.png' });
The snippet assumes page is an existing Puppeteer Page and testPageUrl is a page you are authorized to access. It is not a tested recipe for navigating or booking on IRCTC.
Capture one element
If the purpose is to illustrate the passenger form, capture only that element to avoid including unrelated page content. Find its handle with a selector appropriate to your test page, then call screenshot() on the handle:
Rank #2
- Wireless Bluetooth Connectivity for Flexible Use: The RONGTA RP425 Bluetooth thermal shipping label printer is fully compatible with iOS and Android phones/tablets. Simply download the "RONGTA" App from the App Store or Google Play, connect via Bluetooth through the App, and start printing instantly
- Automatic Label Identification: Rongta shipping label printer automatically detects, grabs, and feeds labels, eliminating manual adjustment hassle. It supports all direct thermal labels with a width range of 0.98" to 4.37", covering common sizes such as 4x6" shipping labels, 2x2" circular labels, 2x1" barcode labels, and 1x1" QR code labels
- Easy Installation for Multiple Systems: The Windows and Mac driver software is available on Rongta official website for easy setup. Compatible with Windows 7 and newer, Mac OS 10.11 and newer, and Chrome OS
- Compact and Portable Design: The Rongta thermal label printer features a space-saving compact build with dimensions of 10.2 x 7.4 x 5.3 inches, making it easy to store anywhere on your desk, in a drawer, or during travel
- High-Speed Printing Performance: Features fast printing speed of up to 150 mm/s with 203dpi resolution and thermal printing method, ensuring efficient label production for warehouses, offices, and on-the-go use
const form = await page.$('#passenger-form');
if (!form) throw new Error('Passenger form not found');
await form.screenshot({ path: 'passenger-form.png' });
Replace #passenger-form with a selector that exists on your authorized page. Puppeteer’s screenshots guide documents element screenshots and notes that Puppeteer attempts to scroll a hidden element into view before capturing it. A selected-element capture can reduce incidental content, but it does not automatically remove sensitive values inside that element.
Outdated Drivers Are Slowing You Down
One free scan finds every outdated or missing driver and matches the right update for your exact hardware.Free scan · exact hardware matchWindows 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 reinstallProtect passenger information before sharing a capture
IRCTC’s privacy policy discusses registration information such as name, age or date of birth, nationality, email, address and telephone number, as well as information about other travellers for whom a registered user books. The e-ticket FAQ says passengers are not required to enter photo identity-card details while booking. That does not mean a screenshot is anonymous: names and other entered or account-associated information can still be visible.
Rank #3
- [HIGH TECH LABEL PRINTER] Equipped with a Japanese high tech thermal print head, 203 DPI high printing quality. No ink, No toner, Clean with no mess, economical. Works with both fanfold labels and roll labels. Label size: labels width ranges from 1.57" to 4.1"
- [PRINT WIRELESSLY]The label printer support printing wirelessly. For windows 8 or later and Mac, you can print via Bluetooth. For Android& iOS, you can’t print via Bluetooth on phone, need to download the App "Jadens printer" and print on it.
- [PRINT VIA USB] USB connection works with both Windows (7 and newer) and Mac OS (10.9 and newer) devices. Please long and press the feed button to identify and calibrate label size each time you change labels.
- [WIDE USAGE] JADENS thermal label printer is widely used to print labels from various marketplaces and shipping platforms, such as Endicia, Dazzle, ShipStation, Shipping Easy, Shippo, ShipWorks, Ordoro, eBay, Amazon, Easy, and Shopify. Use JADENS thermal label maker machine to print shipping labels, warehouse labels, market labels, helping increase your productivity. Ideal for your online small business for shipping packages.
- [EASY TO SET UP & RELIABLE AFTER-SALE SERVICE] Set up in one minute. Printer driver, instruction videos and problem shooting videos are provided in U-Disk for better understanding. Offer one year warranty; customer support can be reached out to email, phone, remote control.
- For tutorials and mockups: use fictional names and other synthetic values on a local mock or expressly authorized test environment.
- For a real capture: crop or redact identifying fields before publication, and keep the unredacted original appropriately restricted.
- Before sharing: inspect the entire output, including the edges of the image, for passenger details or account information. Cropping to a form is not a substitute for checking its contents.
Troubleshooting a Puppeteer screenshot
- The output file is missing: confirm the process has permission to write to the requested path and that the screenshot call completed without an exception.
- The target element is not found: check that the authorized test page has loaded the expected state and that the selector matches its markup. The sample selector is only an example.
- The element screenshot contains unexpected content: inspect the element’s bounds and its contents; element capture includes what is inside the selected element, including any sensitive values.
- The capture differs from the page you expected: verify that navigation reached the intended test page and state before calling the screenshot method. The cited IRCTC guide does not promise a fixed page layout.
- You are considering live-site automation: the cited official booking guide and Puppeteer documentation do not determine whether live automation is permitted, succeeds consistently, or interacts with site protections. Do not treat these examples as evidence of authorization or reliability.
Or skip the browser setup
For a permitted screenshot request, ScreenshotNeo offers a one-call API; its documented API options are at ScreenshotNeo’s API documentation. This does not remove the need to use an authorized URL and protect passenger data.
curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://stripe.com -o shot.webp
Replace the example URL with a page you are authorized to capture. ScreenshotNeo says it removes cookie banners, newsletter popups and chat widgets before capture; bot checks, blank pages and failed loads are never billed. Its MCP server lets AI agents take screenshots. The free plan includes 1,000 screenshots a month with no card, and paid plans start at $5 for 3,000.
Sign up for ScreenshotNeo’s free plan.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Frequently Asked Questions
Does an IRCTC screenshot show the same passenger fields every time?
The official booking guide describes the booking sequence but does not promise a fixed page layout or field set.
Quick wins for a faster PC:
Repair Windows errors before they cause bigger problemsFix Now →Fix the driver behind crashes, sound loss and screen glitchesFind Drivers →Rank #4
- User-Friendly Portable Photo Printer for iPhone, Android & PC - Get beautiful and colourful memories with Liene 4x6 photo printer! After opening the entire package, you can find one cartridge + 20 sheets of photo paper (placed inside the machine packaging), as well as an additional box containing 80 sheets of photo paper (which includes two cartridges + 80 sheets of photo paper). Full package includes smartphone photo printer, Liene 4x6 photo printer papers (100 sheets), 3 colour cartridges, and fully sealed cassette to prevent dust. Minimalist and magnetic design for compact storage.
- Superior Quality 4x6 Photo Printer - Print photos like no other thanks to the thermal-dye sublimation tech adopted by the picture printer for iphone. The dyes deeply penetrate the paper for vibrant photo printing, and the laminated surface is resistant to water, scratches, fingerprints and fading. Clean the print head promptly if smudges are observed on printed photos during operation. Get Liene photo printers now for yourself and your loved ones, print your happy moments together and keep your love forever!
- Wi-Fi Photo Printer for Smartphone - The built-in hotspot of the photo printer makes it easy to print pictures from your phone, avoiding outside interference with a fast and stable connection. No other networks required! Simply connect your device to the independent instant photo printer 4x6 hotspot.
- Multiple Device Compatibility - Liene phone printer provides instant photo printing for up to 5 simultaneous connections. Share with family and friends or print from your different devices. No additional cables or Bluetooth required when printing photos with this picture printer. Note: Ensure the ink cartridge clicks into place before printing.
- Customize your Printing with the Liene App - Customize your photos with our specialized App! You can add a Square border, insert filters, enhance the contrast and brightness, check printing status, and more. You can even print your ID and Visa photos from home with this photo printer for iphone 4x6 prints.
Does Puppeteer automatically redact passenger details in a screenshot?
No. Review and redact sensitive information yourself, or use synthetic values for demonstrations.
Quick Recap
Best Value
- 【High‑Quality, Energy‑Efficient Thermal Printing】The NULLTONEX shipping label printer uses direct thermal technology, eliminating the need for ink or toner and reducing maintenance and replacement costs. It delivers crisp 203 DPI resolution for sharp barcodes, text, and addresses that scan easily, with print speeds up to 150mm/s (72 labels per minute). Ideal for high‑volume small business shipping, it minimizes downtime during peak hours and boosts operational efficiency.
- 【Bluetooth & USB Dual Connectivity】 Connect seamlessly to your phone, laptop or PC via Bluetooth or USB. Download the free "FlashLabel Pro" app for quick Bluetooth pairing to create and print labels wirelessly. Also, simply use the USB cable to connect directly to your laptop for a steadier, interference‑free office workflow
- 【User‑Friendly Operation】 Easy setup and a dedicated FlashLabel Pro app offer 1,800+ customizable templates, 300+ fonts, and multiple editing tools for everything from daily home organization to express waybill printing. Offline capability allows local storage of templates and designs, so you can start printing immediately without waiting for cloud downloads – perfect for busy small businesses
- 【Wide Compatibility with Popular Shipping Platforms】 Works seamlessly with major shipping carriers and e‑commerce platforms including Amazon, Shopify, Etsy, USPS, UPS, FedEx, and DHL. Supports standard 4"×6" shipping labels as well as other sizes from 1.57" to 4.3" wide – ideal for shipping labels, barcode labels, mailing labels, and more.(Note: prints in black & white only)
- 【Durable, Compact & Ready to Use】 Featuring a special matte finish with reinforced coating and a space‑saving design that fits neatly on any desk. Built‑in printhead overheat protection ensures stable long‑run performance. The package includes the thermal printer, power cord, USB cable, and 25 sheets of 4"×6" thermal labels – everything you need to start efficient printing right out of the box
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.

