npm / puppeteer
puppeteer
What changed in puppeteer 2 to 25, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-25.
49 breaking2 deprecations27 new APIs and options22 behavior and defaults7 tooling42 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initpuppeteer 2520 changes
Breaking changes 7
Puppeteer rolls to Chrome 155.0.8059.39, changing the Chrome version developers run with this release.
Puppeteer now rolls to Chrome 154.0.8037.57, changing the Chrome version used with Puppeteer.
defaultArgs now returns a Promise.
Packages are ESM-only, so projects must use ESM-compatible package loading.
executablePath now returns a Promise.
The minimum supported Node.js version is now 22.
The minimum TypeScript version is 5.0.1.
New APIs and options 1
Adds support for the followSymlinks option.
Behavior and default changes 4
Puppeteer rolls to Chrome 153.0.8010.36, changing the Chrome version it runs.
Puppeteer rolls to Chrome 152.0.7977.42, changing the Chrome version used with this release.
Puppeteer rolls to Chrome 151.0.7922.47, which may affect browser compatibility.
Puppeteer rolls to Chrome 149.0.7827.2, changing the Chrome version used by developers.
Fixes and other changes 8
Puppeteer now uses Chrome 157.0.8103.38.
Puppeteer rolls to Chrome 156.0.8078.47, changing the Chrome version used with this release.
Users are told how to recover a partial browser folder.
Puppeteer rolls to Chrome 150.0.7871.24.
Reading configuration from
.puppeteerrcis restored.Removing the global skipDownload early return allows other configurations to be included.
Progress bar and installation behavior are improved.
Progress bars now support concurrency.
puppeteer 248 changes
New APIs and options 1
WebDriver now supports fetchPostData.
Behavior and default changes 7
Puppeteer rolls to Chrome 148.0.7778.56, changing the Chrome version used by developers.
Puppeteer now rolls to Chrome 147.0.7727.24, changing the Chrome version used when running Puppeteer.
Puppeteer rolls to Chrome 146.0.7680.31, changing the Chrome version used with this release.
Puppeteer rolls to Chrome 145.0.7632.26, changing the browser version developers run.
Puppeteer rolls to Chrome 144.0.7559.96, changing the browser version used with the release.
Puppeteer rolls to Chrome 143.0.7499.40, which may affect browser behavior when running Puppeteer.
Puppeteer rolls to a newer Chrome release, which may change browser behavior.
puppeteer 234 changes
Breaking changes 2
Support for NPM configuration has been removed.
The product terminology has been renamed to browser.
New APIs and options 2
Puppeteer supports downloading multiple browsers.
puppeteer.connect supports WebDriver capabilities.
puppeteer 222 changes
Breaking changes 2
Support for Node.js 16 is dropped.
PUPPETEER_DOWNLOAD_PATH is removed in favor of PUPPETEER_CACHE_DIR.
puppeteer 201 changes
Breaking changes 1
Puppeteer switches from Chromium to Chrome for Testing.
puppeteer 195 changes
Breaking changes 3
Browser downloads now use ~/.cache/puppeteer.
The custom query handler API was refactored, changing the API developers use to define custom query handlers.
puppeteer.devices was removed in favor of KnownDevices.
Deprecations 2
createBrowserFetcher is deprecated in favor of BrowserFetcher.
Indirect network condition imports are deprecated.
puppeteer 184 changes
Breaking changes 1
Fixes bounding box visibility conditions, changing when bounding boxes are considered visible.
New APIs and options 1
Adds a text query handler.
Fixes and other changes 2
Uses the win64 version of Chromium on arm64 Windows.
Suppresses initialization errors when the target is closed.
puppeteer 173 changes
Breaking changes 2
Execution context was internalized, changing its public API availability.
The root option was removed from WaitForSelectorOptions.
Fixes and other changes 1
LifecycleWatcher now allows multiple navigations to happen.
puppeteer 163 changes
Breaking changes 1
With Chromium, Puppeteer now attaches to page and iframe targets immediately, using CDP's auto-attach mechanism to allow reliable target configuration.
Behavior and default changes 1
connect() now detects Firefox automatically.
Tooling 1
A Dockerfile was added for using Puppeteer with Docker.
puppeteer 152 changes
Breaking changes 1
Changes type inference for evaluation types, which is a breaking change.
New APIs and options 1
Adds an experimental client property to HTTPRequest.
puppeteer 146 changes
Breaking changes 1
Node 12 is no longer supported.
New APIs and options 1
Puppeteer adds support for ES modules.
Behavior and default changes 1
Puppeteer adds support for Apple Silicon Chromium builds.
Fixes and other changes 3
Puppeteer rolls to Chromium 102.0.5002.0 (r991974).
Strict mode fixes address issues in the HTTPRequest and Response classes.
Fixes attaching to inner OOPIFs.
puppeteer 135 changes
Breaking changes 1
Reverts support for using Puppeteer without the DOM library in TypeScript.
New APIs and options 2
Implements Element.waitForSelector.
Exposes the HTTPRequest interception resolution state so developers can inspect how interception was resolved.
Fixes and other changes 2
Corrects a typo in the already-handled constant of the request interception API.
Handles multiple or duplicate Fetch.requestPaused events.
puppeteer 125 changes
New APIs and options 1
Firefox gains support for a custom user data (profile) directory.
Behavior and default changes 2
Puppeteer only kills the process when no browser instance is available.
Puppeteer rolls to Chromium 97.0.4692.0, which may affect browser behavior for developers using the bundled browser.
Fixes and other changes 2
ARIA attribute selectors now allow single quotes.
Puppeteer parses statusText from the extraInfo event.
puppeteer 1111 changes
New APIs and options 5
BrowserFetcher now supports relative install paths.
A custom debugging port option is available.
HTTPRequest gains an initiator.
The screenshot quality option allow list now includes webp.
The temporary directory can now be customized.
Behavior and default changes 1
OOP iframes are integrated with the frame manager, changing how Puppeteer handles them.
Fixes and other changes 5
When using an imported module, exposeFunction now falls back to default.
launcher.launch() now passes the timeout option.
Fixes page.off for the request event.
The error message for response.buffer() is improved.
Prevents Target closed errors on streams.
puppeteer 106 changes
Breaking changes 2
The cacheSafe flag is removed from request interception.
Node.js 10 is no longer supported.
New APIs and options 2
Other sessions can now be exposed from a connection.
A new launcher option allows configuring whether to wait for the initial page.
Fixes and other changes 2
Puppeteer rolls to Chromium 92.0.4512.0.
Fixes a font loading issue with request interception.
puppeteer 916 changes
Breaking changes 2
FileChooser.cancel() is now synchronous.
The event is emitted after the Worker is removed.
New APIs and options 2
Adds the omitBackground option to the page.pdf method.
Accepts captureBeyondViewport as an optional screenshot parameter.
Behavior and default changes 2
Makes the $ selector generic.
Makes the $$ selector generic.
Fixes and other changes 10
Fixes an installation error on Apple M1 chips.
Fixes parsing of ARIA selectors.
The cache is no longer disabled for an auth challenge.
Puppeteer rolls to Chromium 91.0.4469.0.
Allows defaultViewport to be null in TypeScript.
Fixes the mouse.click method.
Corrects the types for page event listeners.
Improves the type of the predicate function.
Fixes screenshots in puppeteer-web.
Improves compatibility between request interception and caching.
puppeteer 86 changes
Breaking changes 2
Renames the BrowserOptions type to BrowserConnectOptions.
Renames the ChromeArgOptions type to BrowserLaunchArgumentOptions.
New APIs and options 1
Exposes the Viewport type for developers to use.
Tooling 2
Improves TypeScript types for launching browsers.
Adds explicit type definitions for HTTPRequest.resourceType.
Fixes and other changes 1
Puppeteer rolls Chromium forward to revision r856583.
puppeteer 72 changes
Breaking changes 2
Screenshots use the clip dimensions rather than being cut by the viewport size.
Chromium cuts screenshot content by the viewport size rather than the viewport position.
puppeteer 67 changes
Breaking changes 1
The built-in aria/ selector query handler no longer returns ignored elements.
New APIs and options 2
Adds iPhone 11 models to the available device descriptors.
Adds page.emulateNetworkConditions for emulating network conditions.
Behavior and default changes 2
Puppeteer supports fetching and launching on Apple M1.
The predicate can return a promise.
Tooling 1
Puppeteer ships built-in TypeScript definitions, so consumers no longer need to install @types/puppeteer.
Fixes and other changes 1
Puppeteer rolls Chromium to r843427.
puppeteer 57 changes
Breaking changes 3
Removed the deprecated method; use page.emulateMediaType, which behaves identically.
Removed this top-level package file; the same data is exposed via puppeteer.devices.
Removed this top-level package file; the same data is exposed via puppeteer.errors.
Tooling 3
Added TypeScript types for $eval.
Improved TypeScript typing for evaluate.
Added and fixed TypeScript types for evaluateHandle.
Fixes and other changes 1
Fixed the options type so it is optional.
puppeteer 416 changes
Breaking changes 12
The static EventEmitter property is not supported.
The static EventEmitter property is not supported.
Puppeteer classes that extend EventEmitter no longer provide this method.
Puppeteer classes that extend EventEmitter no longer provide this method.
The static EventEmitter method is not supported.
Puppeteer classes that extend EventEmitter no longer provide this method.
Adding a listener no longer emits this event.
Puppeteer classes that extend EventEmitter no longer provide this method.
Puppeteer classes that extend EventEmitter no longer provide this method.
Puppeteer classes that extend EventEmitter no longer provide this method.
Removing a listener no longer emits this event.
Puppeteer classes that extend EventEmitter no longer provide this method.
New APIs and options 1
Call this on a Puppeteer page to find out if JavaScript is enabled on the page.
Behavior and default changes 1
Send and receive debug logs are split into separate channels, making the logs clearer.
Fixes and other changes 2
Error reporting on aarch64 was improved.
Puppeteer is better at killing lingering browser processes, especially when a test run exits with Ctrl-C.
puppeteer 35 changes
Breaking changes 1
Node.js v8.x.x is no longer supported.
New APIs and options 1
Setting PUPPETEER_PRODUCT=firefox during npm install lets Puppeteer fetch a Firefox Nightly binary.
Behavior and default changes 1
The install.js script can now be run with puppeteer-core.
Fixes and other changes 2
Puppeteer now uses Chromium 81.0.4044.0 (r737027).
Calls now trigger a change event, matching the old behavior in Puppeteer v1.20.0.
puppeteer 25 changes
Breaking changes 2
Puppeteer now requires Node.js v8+; Node.js v6 is no longer supported.
Screenshots now clip elements to the viewport.
New APIs and options 3
Adds an API to emulate media features.
Adds an API to emulate a media type.
Adds an API to emulate a timezone using a timezone ID.