You can capture a page you are authorized to access with Puppeteer’s Page.screenshot() API. The example below shows the screenshot workflow on a placeholder URL; it does not log in to a bank or authorize automation of any Indian bank’s authenticated service. For a real account, follow the bank’s terms, sign in yourself through the normal process, and stop if the bank blocks automation or presents a security challenge.
Capture an authorized page with Puppeteer
Install Puppeteer in a Node.js project, then save this as an ES module such as capture.mjs. Replace the placeholder only with a public page, a bank-provided test or demo page, or a page you are authorized to capture.
As an Amazon Associate I earn from qualifying purchases.
import puppeteer from 'puppeteer';
const browser = await puppeteer.launch();
try {
const page = await browser.newPage();
await page.setViewport({ width: 1365, height: 900 });
await page.goto('https://example.com/', { waitUntil: 'networkidle2' });
await page.screenshot({ path: 'bank-page.png', fullPage: true });
} finally {
await browser.close();
}
Run it with node capture.mjs. The output file is bank-page.png in the current working directory. The URL is only a placeholder: this code illustrates navigation and screenshot capture, not bank login or account access. The Puppeteer documentation describes this page-level screenshot API and its options at Puppeteer’s screenshot guide.
Recommended Free Tools
What the script does
puppeteer.launch()starts a browser. Puppeteer runs headless by default.browser.newPage()creates a page, andsetViewport()sets its emulated viewport dimensions.page.goto()navigates to the chosen URL. Here,networkidle2is an example readiness condition, not proof that every dynamic page has finished rendering.page.screenshot()writes the image to the specified path.fullPage: truerequests a capture of the full page rather than only the visible viewport.- The
finallyblock closes the browser even if navigation or capture fails.
Puppeteer’s documentation reported version 25.12.0 when accessed; check its current guides and API reference if your installed version behaves differently. See the official Puppeteer site for installation and version information.
#1 Best Overall
- CRISP CLARITY: This 23.8″ Philips V line monitor delivers crisp Full HD 1920x1080 visuals. Enjoy movies, shows and videos with remarkable detail
- INCREDIBLE CONTRAST: The VA panel produces brighter whites and deeper blacks. You get true-to-life images and more gradients with 16.7 million colors
- THE PERFECT VIEW: The 178/178 degree extra wide viewing angle prevents the shifting of colors when viewed from an offset angle, so you always get consistent colors
- WORK SEAMLESSLY: This sleek monitor is virtually bezel-free on three sides, so the screen looks even bigger for the viewer. This minimalistic design also allows for seamless multi-monitor setups that enhance your workflow and boost productivity
- A BETTER READING EXPERIENCE: For busy office workers, EasyRead mode provides a more paper-like experience for when viewing lengthy documents
Choose when and what to capture
Wait for the right page state
A page can continue rendering after network activity becomes quiet, and some sites keep connections open. On an authorized test page, a page-specific condition may be more appropriate than networkidle2. For example, wait for a known content selector before taking the screenshot:
await page.goto('https://example.com/', { waitUntil: 'domcontentloaded' });
await page.waitForSelector('[data-page-ready="true"]', { timeout: 15000 });
await page.screenshot({ path: 'bank-page.png', fullPage: true });
Use a selector that actually exists on the permitted page. Do not use a wait strategy to defeat a bank’s security checks, challenge screens, or access controls.
Rank #2
- CRISP CLARITY: This 22 inch class (21.5″ viewable) Philips V line monitor delivers crisp Full HD 1920x1080 visuals. Enjoy movies, shows and videos with remarkable detail
- 100HZ FAST REFRESH RATE: 100Hz brings your favorite movies and video games to life. Stream, binge, and play effortlessly
- SMOOTH ACTION WITH ADAPTIVE-SYNC: Adaptive-Sync technology ensures fluid action sequences and rapid response time. Every frame will be rendered smoothly with crystal clarity and without stutter
- INCREDIBLE CONTRAST: The VA panel produces brighter whites and deeper blacks. You get true-to-life images and more gradients with 16.7 million colors
- THE PERFECT VIEW: The 178/178 degree extra wide viewing angle prevents the shifting of colors when viewed from an offset angle, so you always get consistent colors
Viewport, full page, or a selected element
- Viewport: omit
fullPageor set it tofalseto capture the current viewport. The default isfalse. - Full page: set
fullPage: truewhen the entire page is needed. This may produce a very tall image; inspect it for clipped, repeated, or lazily loaded content. - Element: select a permitted element and call its screenshot method. Puppeteer’s guide says it attempts to scroll a hidden element into view before capturing it:
const panel = await page.$('#account-summary');
if (!panel) throw new Error('Expected element was not found');
await panel.screenshot({ path: 'summary.png' });
Use a selector appropriate to your authorized page; the example selector is illustrative and does not imply a bank uses it.
PNG output and file paths
PNG is the documented default screenshot image type. The path option controls the output file and extension; a path such as captures/bank-page.png requires the captures directory to exist. Choose a private output location for any sensitive capture.
Rank #3
- Clear visuals. Fluid motion: A 144Hz refresh rate and 1ms MPRT deliver smooth, tear‑free motion across work, gaming, and streaming for clearer, more fluid viewing.
- Eye comfort: TÜV Rheinland 3‑star* certification reduces harmful blue light while preserving stunning color quality without compromise. *TÜV Rheinland 3-star eye comfort certification.
- Wide viewing angle: Get consistent views across a wide 178° /178° viewing angle.
- In-Plane Switching (IPS): See excellent color accuracy and consistency across wide viewing angles with In-plane Switching (IPS) technology.
- Ultra-thin bezels: Maximize your viewing experience with thin bezels.
Headless or visible Chrome
Default headless mode is suitable for a basic automated capture. To display a regular Chrome window, launch with headless: false:
const browser = await puppeteer.launch({ headless: false });
The Puppeteer guide distinguishes regular Chrome from the chrome-headless-shell option, which can behave differently. Visible mode is not a way around bank controls and should not be used to expose an account screen to another person.
Rank #4
- CURVED FOR ENHANCED ENGAGEMENT: An immersive viewing experience with a curved monitor that wraps more closely around your field of vision; It creates a wider view, enhancing depth perception and minimizing peripheral distraction
- SMOOTH PERFORMANCE FOR SEAMLESS CONTENT: Stay in the action when playing games, watching videos, or working on creative projects; The 100Hz refresh rate reduces lag and motion blur so you don't miss a thing in fast-paced moments¹
- MORE GAMING POWER: Gain the edge with optimizable game settings; Color and image contrast can be adjusted to see scenes more vividly and spot enemies hiding in the dark; Game Mode adjusts any game to fill the screen so you can view every detail²
- KEEP IT EASY ON THE EYES: Care for your eyes and stay comfortable, even during long sessions; Advanced eye comfort technology certified by TÜV reduces eye strain by minimizing blue light and reducing irritating screen flicker²
- INCREASED VERSATILITY: Connect to more; Plug devices straight into your monitor for increased flexibility, making your computing environment even more convenient
Protect banking information and respect access controls
There is no universal permission established for automating Indian bank net-banking pages. Puppeteer documents how to take a screenshot; it does not establish that a particular bank permits automation of its authenticated service. Check the selected bank’s terms and use only an account-holder-operated capture after normal login where permitted.
The Tool Desk
Outbyte PC Repair FREEClear out junk files and repair common Windows errorsFree Scan →Outbyte Driver Updater FREEFix the driver behind crashes, sound loss and screen glitchesFind Drivers →- Do not put usernames, passwords, PINs, OTPs, or session tokens in source code, logs, screenshots, or public repositories.
- Treat captured images as sensitive. Account numbers, balances, names, and transaction details should not appear in public artifacts. Redact before sharing and keep the original in secure storage.
- Do not use public computers for financial transactions. The RBI-hosted Internet Banking – Security Features (Annex-II) advises customers to protect their personal computers and avoid financial transactions from public or internet-café computers. This annex is not a complete statement of current rules for every bank.
- RBI consumer-awareness material warns that screen-sharing or remote-access apps can expose financial credentials. Avoid sharing an authenticated banking screen with untrusted parties.
- If a bank blocks automation or requires a challenge, stop and use a bank-approved route. Do not bypass CAPTCHA, MFA, bot checks, or other security measures.
Installation and common problems
The puppeteer package normally downloads a compatible browser as part of its installation flow. puppeteer-core is available when you manage the browser separately. The official Puppeteer site notes that blocked install scripts can prevent the browser download and lead to runtime errors.
Best Value
- 【INTEGRATED SPEAKERS】Whether you're at work or in the midst of an intense gaming session, our built-in speakers provide rich and seamless audio, all while keeping your desk clutter-free.
- 【EASY ON THE EYES】 Protect your eyes and enhance your comfort with Blue-Light Shift technology. This feature reduces harmful blue light emissions from your screen, helping to alleviate eye strain during long hours of use and promoting healthier viewing habits.
- 【WIDEN YOUR PERSPECTIVE】Our sleek minimal bezel design ensures undivided attention. The nearly bezel-free display seamlessly connects in a dual monitor arrangement, delivering an unobstructed view that lets you focus on more at once, completely distraction-free.
| Symptom | Likely cause | What to check |
|---|---|---|
| Browser executable is missing or launch fails | The install-time browser download may have been blocked, or you may be using puppeteer-core without a managed browser. |
Review the installation output and Puppeteer’s installation guidance. If managing the browser yourself, configure the executable as appropriate for your setup. |
| Navigation times out | The page is slow, never reaches the selected network-idle condition, or is inaccessible from the environment. | Check that the URL is reachable and permitted. For an authorized test page, choose an appropriate navigation condition and wait for a specific readiness signal rather than assuming network idle fits every page. |
| Screenshot is blank or incomplete | Capture occurred before the relevant content appeared, or the page uses delayed or lazy rendering. | Wait for a page-specific element or condition on a permitted test page, then inspect the saved image. A completed navigation alone does not guarantee every visual element has rendered. |
| Output file is not found | The path is relative to the process working directory, or its parent directory does not exist. | Check where the command was run and create the destination directory before capturing. |
| Bank page displays a challenge or blocks automation | The bank is applying an access or security control. | Stop. Do not attempt to bypass the challenge; use a bank-approved method or a permitted demo environment. |
Or skip the browser setup
For a page you are authorized to capture, ScreenshotNeo can return a screenshot from one GET request. See the ScreenshotNeo API documentation for its parameters and response behavior.
curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://stripe.com -o shot.webp
Use your own API key and replace the target URL with a page you are allowed to capture. ScreenshotNeo accepts cookie or consent banners and removes more than 60 known consent platforms, newsletter popups, and chat widgets before capture; each step can be turned off. Bot checks or CAPTCHAs, blank pages, timeouts, failed loads, and cache hits are not billed, and the response identifies the page verdict and billing status in headers. Its MCP server provides screenshot tools for AI agents, including Claude, Cursor, and other MCP clients. The free plan includes 1,000 screenshots a month with no card; paid plans start at $5 for 3,000 screenshots.
Sign up for ScreenshotNeo’s free plan to get 1,000 screenshots a month without a card.
Quick wins for a faster PC:
Fix the driver behind crashes, sound loss and screen glitchesFind Drivers →Clear out junk files and repair common Windows errorsFree Scan →Frequently Asked Questions
How do I take a full-page screenshot with Puppeteer?
Set fullPage: true in the options passed to page.screenshot(), as in the runnable example above.
How do I save a Puppeteer screenshot as a PNG?
Pass a PNG filename in the path option, for example { path: 'bank-page.png' }. PNG is Puppeteer’s documented default image type.
Quick Recap
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.

