The Tool Desk
Outbyte Driver Updater FREEScan for outdated or missing drivers - takes under a minuteDriver Scan →Outbyte PC Repair FREEClear out junk files and repair common Windows errorsFree Scan →Read puppeteer.lastLaunchedBrowser to get the name or type of browser Puppeteer most recently launched. It is a PuppeteerNode property (a getter), not a method and not a Browser instance. For the browser Puppeteer will select on a future launch, use puppeteer.defaultBrowser instead.
Read the last launched browser
With the Puppeteer Node API available, access the property directly:
const puppeteer = require('puppeteer');
console.log(puppeteer.lastLaunchedBrowser);
The documented type is SupportedBrowser. Use it as a property, without parentheses: puppeteer.lastLaunchedBrowser, not puppeteer.lastLaunchedBrowser(). It identifies the browser name/type; it does not return the browser object, page, or process.
ES modules
import puppeteer from 'puppeteer';
console.log(puppeteer.lastLaunchedBrowser);
These examples show the property in a Puppeteer Node environment; they do not assert a particular value. The API reference does not specify the value before the first launch or how the property changes across successive launches. Check the behavior of the exact Puppeteer version you use if either detail matters to your application.
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 reinstall#1 Best Overall
- 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.
- 14" HD Display: 14.0-inch diagonal, HD (1366 x 768), micro-edge, anti-glare. See your digital world in a whole new way. Enjoy movies and photos with the great image quality and high-definition detail of 1 million pixels.
- Memory & Storage: 4 GB LPDDR4x & 64 GB eMMC Storage. Adequate high-bandwidth RAM to smoothly run multiple applications and browser tabs all at once. An embedded multimedia card provides reliable flash-based storage.
- Ports:2 x USB 3.0 Type-A,1 x USB 3.0 Type-C,1 x HDMI,1 x Headphone Jack
- Chrome OS: Chromebook is a computer for the way the modern world works, with thousands of apps. Enjoy the seamless simplicity that comes with Google Chrome and Android apps, all integrated into one laptop. It’s fast, simple, and secure.
Choose the property that answers your question
| Property | What it tells you | Use it when |
|---|---|---|
lastLaunchedBrowser |
The name/type of the browser last launched. | You need to inspect the most recent launch selection. |
defaultBrowser |
The browser Puppeteer will launch by default. | You need to inspect the default for a future launch. |
product |
Legacy getter; deprecated because it does not account for multiple browser types. | Do not use for new code. Prefer defaultBrowser or lastLaunchedBrowser, depending on the question. |
See the PuppeteerNode API reference for the properties and defaultBrowser reference for the default selection.
Understand launch versus connect
puppeteer.launch() starts a new browser instance and resolves to a Promise<Browser>. Its optional launch settings are passed as launch options. With puppeteer-core, provide an executable path or channel. A launched browser can be used separately from the property that reports the last launched browser:
Rank #2
- Storage: 16GB Flash Memory
- OS: Chrome OS
- Screen Size: 11.6"
const browser = await puppeteer.launch();
try {
console.log('Last launched browser:', puppeteer.lastLaunchedBrowser);
// Use browser for pages and other browser operations.
} finally {
await browser.close();
}
By contrast, puppeteer.connect() attaches Puppeteer to an already running browser. The documentation for lastLaunchedBrowser does not establish what value it has when you connect rather than launch. Do not treat it as a reliable description of a connected external browser unless you have verified that behavior for your Puppeteer version. The browser management guide explains launching, connecting, and managing the browser lifecycle.
Close and disconnect are different
browser.close()shuts down the browser.browser.disconnect()detaches Puppeteer while leaving the browser and its pages running.
Common mistakes and fixes
- Calling it like a function: remove the parentheses. It is a property/getter.
- Expecting a browser instance: the property reports a browser name/type. Keep the
Browserreturned bylaunch()when you need to operate on the instance. - Using it to predict the next launch: inspect
defaultBrowserfor the default launch selection; “last launched” and “default” describe different things. - Reading
productin new code: replace the deprecated getter withdefaultBrowserorlastLaunchedBrowser, whichever matches your need. - Assuming a value before launch or after connect: those cases are not specified in the reviewed property documentation. Verify the exact package version rather than relying on an assumed value.
- Launching with
puppeteer-corewithout an executable path or channel: provide one in the launch options as required by the launch reference.
Or skip the browser setup
If your actual task is capturing a website screenshot rather than inspecting Puppeteer’s browser selection, ScreenshotNeo offers a screenshot API. One GET request returns an image or PDF; the code below requests a WebP screenshot of https://stripe.com. See the ScreenshotNeo API documentation for request options.
Free tools Windows power users keep installed
One-click scans. No signup required.
Rank #3
- Intel Processor Up to 2.80GHz, 4GB DDR4, 128GB Storage
- 15" FHD IPS Display, Intel UHD Graphics
- 1x USB Type C, 1 x USB Type A, 1x Headphone/Microphone Combo Jack, HDMI
- Fast WiFi and Bluetooth, Integrated Webcam
- Chrome OS, AC Charger Included, Pastel Silver
curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://stripe.com -o shot.webp
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, blank pages, timeouts, failed loads, and cache hits are not billed. Its MCP server lets AI agents use take_screenshot, get_page_info, and capture_pdf. The Free plan includes 1,000 shots per month with no card; paid plans start at $5 for 3,000 shots. Learn about ScreenshotNeo or sign up free for 1,000 screenshots a month with no card.
Frequently Asked Questions
Is `lastLaunchedBrowser` a method?
No. It is a getter property on `PuppeteerNode`; access it without parentheses.
Does `lastLaunchedBrowser` return the browser instance?
No. It returns the browser name/type, typed as `SupportedBrowser`. Keep the `Browser` returned by `launch()` to operate on the instance.
Quick Recap
Best Value
- FOR HOME, WORK, & SCHOOL – With an Intel processor, 14-inch display, custom-tuned stereo speakers, and long battery life, this Chromebook laptop lets you knock out any assignment or binge-watch your favorite shows..Voltage:5.0 volts
- HD DISPLAY, PORTABLE DESIGN – See every bit of detail on this micro-edge, anti-glare, 14-inch HD (1366 x 768) display (1); easily take this thin and lightweight laptop PC from room to room, on trips, or in a backpack.
- ALL-DAY PERFORMANCE – Reliably tackle all your assignments at once with the quad-core, Intel Celeron N4120—the perfect processor for performance, power consumption, and value (2).
- 4K READY – Smoothly stream 4K content and play your favorite next-gen games with Intel UHD Graphics 600 (3) (4).
- MEMORY AND STORAGE – Enjoy a boost to your system’s performance with 4 GB of RAM while saving more of your favorite memories with 64 GB of reliable flash-based eMMC storage (5).
Rank #4
- THE BETTER WAY TO LAPTOP – Imagine a Chromebook that’s as flexible as your day: thin and lightweight with built-in Google apps and stress-free security.
- TAKE HITS KEEP MOVING – Sleek, light, and built to last- the Chromebook 2-in-1 is just 0.69” thick and 3.3lbs. Enjoy long-lasting battery life, fast charging, and military-grade durability for nonstop productivity wherever life takes you.
- PERFORMANCE THAT MATCHES YOUR HUSTLE – Fuel your ideas with an Intel Core processor and 128GB storage. Boot up in under 10 seconds to start the day powerfully efficient.
- FLEX YOUR CREATIVITY ANYWHERE, ANYTIME – Create, work, or unwind your way with a versatile 2-in-1 design. Flip easily between laptop, tent, and tablet modes with a responsive touchscreen built for flexibility.
- BRILLIANT VIEWS AND IMMERSIVE AUDIO – See, hear, and create with awesome clarity. The WUXGA display brings rich detail to your work and play, while audio tuned by Waves MaxxAudio provides immersive, balanced sound.
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.
Do these 3 things before closing this tab:
1Fix the driver behind crashes, sound loss and screen glitches2Clear out junk files and repair common Windows errors3Scan for outdated or missing drivers - takes under a minute

