unstale

npm / puppeteer-core

puppeteer-core

What changed in puppeteer-core 3 to 25, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.

78 breaking4 security4 deprecations99 new APIs and options4 performance37 behavior and defaults8 tooling203 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

puppeteer-core 25171 changes

Breaking changes 15

  • In BiDi, page.setCacheEnabled() now enables the cache by default.

    25.17.0release notes

  • Pending worker requests now fail when the worker terminates.

    25.17.0release notes

  • Rejects read-only elements and values the element does not accept.

    25.16.0release notes

  • PWA access is rejected when network conditions are configured.

    25.5.0release notes

  • Puppeteer no longer overrides the user agent when nothing is emulated.

    25.5.0release notes

  • The deprecated Browser.isConnected() method is removed.

    25.0.0release notes

  • The Cookie sameParty attribute is removed.

    25.0.0release notes

  • defaultArgs now returns a Promise, so callers must handle its asynchronous result.

    25.0.0release notes

  • Puppeteer packages are ESM-only; projects using CommonJS must adapt their module usage.

    25.0.0release notes

  • executablePath now returns a Promise, so callers must handle its asynchronous result.

    25.0.0release notes

  • Newline-separated headers are normalized to comma-separated format.

    25.0.0release notes

  • The deprecated MouseOptions.clickCount option is removed.

    25.0.0release notes

  • Standard network emulation reset is blocked when an allowlist or blocklist is enabled.

    25.0.0release notes

  • The minimum Node.js version is bumped to 22, affecting which runtimes can run Puppeteer.

    25.0.0release notes

  • The deprecated Puppeteer.product property is removed; code relying on it must use another approach.

    25.0.0release notes

Security 3

  • CRLF is now validated in input HTTPRequest headers.

    25.17.0release notes

  • Blocklists and allowlists are now enforced for service worker requests.

    25.14.0release notes

  • Applies the allowlist to non-auto-attach sessions.

    25.2.0release notes

New APIs and options 36

  • Adds a page event for new-document frame navigations.

    25.18.0release notes

  • Adds a page event for same-document frame navigations.

    25.18.0release notes

  • Adds RemoteException support for WebDriver BiDi and CDP.

    25.18.0release notes

  • Introduces RemoteException for CDP.

    25.18.0release notes

  • Adds network logs for workers.

    25.18.0release notes

  • Browser and BrowserContext now expose console events, including dedicated worker console messages.

    25.17.0release notes

  • Adds page and worker methods on HTTPRequest.

    25.17.0release notes

  • Adds HTTPResponse.encodedDataLength() to expose the response's encoded data length.

    25.17.0release notes

  • Adds HTTPResponse.stream() for accessing a response as a stream.

    25.17.0release notes

  • Locator.filter now supports passing arguments.

    25.17.0release notes

  • Locator.map now supports passing arguments.

    25.17.0release notes

  • Introduces an additional network event on Browser and BrowserContext.

    25.17.0release notes

  • page.metrics() now exposes DomContentLoaded and NavigationStart.

    25.17.0release notes

  • Browser and BrowserContext now expose request events.

    25.17.0release notes

  • ConsoleMessageLocation now includes scriptId.

    25.17.0release notes

  • Adds an API for setting allow/block lists.

    25.15.0release notes

  • Passing null removes the geolocation override.

    25.15.0release notes

  • Adds page.tabInfo().

    25.15.0release notes

  • Adds handshakeTimeout to wsOptions.

    25.15.0release notes

  • Request interception and extra headers now accept Headers instances.

    25.14.0release notes

  • Adds methods to access the page, frame, and worker associated with a console message.

    25.13.0release notes

  • Adds asFetchRequest to HTTPRequest.

    25.13.0release notes

  • Adds asFetchResponse to HTTPResponse.

    25.13.0release notes

  • The WebSocket max payload can now be configured.

    25.13.0release notes

  • Adds video-stream-based screen recording through page.record().

    25.10.0release notes

  • WebMCP now supports canceling tool execution.

    25.9.0release notes

  • Adds support for the followSymlinks option.

    25.8.0release notes

  • tracing.start supports the bufferSize option.

    25.7.0release notes

  • Custom Logger support is exposed through launch and connect.

    25.6.0release notes

  • Dialog status is now tracked.

    25.5.0release notes

  • Adds browser-level APIs to install, launch, and uninstall PWAs.

    25.4.0release notes

  • Adds a handled getter to Dialog.

    25.4.0release notes

  • Exposes Explicit Resource Management using support.

    25.4.0release notes

  • Browser contexts can now have extensions installed.

    25.3.0release notes

  • Adds page locale emulation so developers can set the locale used by a page.

    25.2.0release notes

  • Adds waitForFunction to web workers, allowing developers to wait for a function to become truthy in a worker.

    25.2.0release notes

Performance 1

  • Counting in-flight requests now runs in linear time.

    25.17.0release notes

Behavior and default changes 9

  • Supports unmodified post data and decodes base64 post data.

    25.16.0release notes

  • Puppeteer rolls to Chrome 153.0.8010.36, changing the Chrome version used with puppeteer-core.

    25.11.0release notes

  • Puppeteer rolls to Firefox 155.0.1, changing the Firefox version used with puppeteer-core.

    25.11.0release notes

  • Puppeteer now rolls to Chrome 152.0.7977.54, which may affect the browser version developers run.

    25.9.0release notes

  • Puppeteer now rolls to Firefox 154.0, which may affect the browser version developers run.

    25.9.0release notes

  • MutationPoller now supports shadow roots.

    25.9.0release notes

  • Allows extensions to run over WebSockets.

    25.2.0release notes

  • Puppeteer rolls to a newer Chrome version, which may affect browser behavior when running Puppeteer.

    25.1.0release notes

  • Puppeteer rolls to a newer Firefox version, which may affect browser behavior when running Puppeteer.

    25.0.1release notesrelease notes

Fixes and other changes 107

  • In BiDi, page.reload() now waits for the new document.

    25.18.1release notes

  • Operations now reject immediately when the signal is already aborted.

    25.18.0release notes

  • No longer modifies the options passed to addStyleTag.

    25.18.0release notes

  • Now honors the signal option.

    25.18.0release notes

  • Puppeteer rolls to Chrome 157.0.8103.78.

    25.18.0release notes

  • WebDriver BiDi now resets setPermission overrides when clearing permission overrides.

    25.18.0release notes

  • No longer modifies the options passed to connect.

    25.18.0release notes

  • WebDriver BiDi now sends cookie expiry as an integer.

    25.18.0release notes

  • CDP now deletes cookies from the page partition for default port pages.

    25.18.0release notes

  • Puppeteer rolls to Firefox 160.0.

    25.18.0release notes

  • WebDriver BiDi now honors the signal while goBack() waits.

    25.18.0release notes

  • WebDriver BiDi now honors the signal while goForward() waits.

    25.18.0release notes

  • CDP now honors the signal option in goto().

    25.18.0release notes

  • WebDriver now returns the placeholder remote address.

    25.18.0release notes

  • No longer modifies the options passed to launch.

    25.18.0release notes

  • Already-aborted signals are honored by navigation methods.

    25.18.0release notes

  • Now honors the signal option.

    25.18.0release notes

  • Text selectors now query the light DOM of shadow hosts.

    25.18.0release notes

  • Values containing equals signs are now preserved.

    25.18.0release notes

  • Already-aborted signals are honored by waitForFunction().

    25.18.0release notes

  • CDP ConsoleMessage.text() now includes null and undefined.

    25.17.0release notes

  • In BiDi respond(), contentType can now replace a content-type header.

    25.17.0release notes

  • defaultArgs no longer mutates options.args.

    25.17.0release notes

  • BiDi now applies downloadBehavior from launch and connect options.

    25.17.0release notes

  • evaluate no longer throws when the caller stack frame is missing.

    25.17.0release notes

  • In BiDi, page.cookies() now returns domain cookies for the domain itself.

    25.17.0release notes

  • BiDi now keeps the plain GMT timezone ID when emulating a timezone.

    25.17.0release notes

  • BiDi now sends the default accuracy when setting geolocation.

    25.17.0release notes

  • BiDi now updates Request.isBlocked on network lifecycle events.

    25.17.0release notes

  • The requestfailed event is now emitted when loadingFailed precedes requestPaused.

    25.17.0release notes

  • BiDi now tolerates respond() and abort() failures for requests that are gone.

    25.17.0release notes

  • BiDi page.pdf() now respects waitForFonts.

    25.17.0release notes

  • Browser WebSocket transport errors are logged.

    25.16.0release notes

  • Puppeteer rolls to Chrome 156.0.8078.47.

    25.16.0release notes

  • Respects lengthUnit when determining the default paper size.

    25.16.0release notes

  • Respects domain, path, url, and partitionKey when deleting matching cookies.

    25.16.0release notes

  • Reports permission denied when DevToolsActivePort fails with EPERM or EACCES.

    25.16.0release notes

  • Events without backendNodeId are ignored.

    25.16.0release notes

  • Puppeteer rolls to Firefox 158.0.1.

    25.16.0release notes

  • Undefined header values are skipped when responding to a request.

    25.16.0release notes

  • Falls back to blockedReason when errorText is empty.

    25.16.0release notes

  • The navigation timeout is respected after a follow-up navigation.

    25.16.0release notes

  • Accepts page ranges without spaces.

    25.16.0release notes

  • Returns post data for a paused request without asking Chrome.

    25.16.0release notes

  • Types an apostrophe for the Quote key in WebDriver.

    25.16.0release notes

  • Request headers are updated on response and error events in BiDi.

    25.16.0release notes

  • Requests are intercepted on the session that paused them.

    25.16.0release notes

  • Returns null after a navigation.

    25.16.0release notes

  • The replaced service worker target is destroyed when an extension is re-installed.

    25.16.0release notes

  • Uses exact CSS unit ratios.

    25.16.0release notes

  • Handles rejections from continueWithAuth.

    25.15.0release notes

  • Applies dynamic network restrictions to service workers that are already running.

    25.15.0release notes

  • Avoids emitting a duplicate request when restarting Fetch.requestPaused.

    25.15.0release notes

  • Handles stop() rejection when page.record() fails to start.

    25.15.0release notes

  • Stops in-page pollers created after WaitTask termination.

    25.15.0release notes

  • Puppeteer rolls to Firefox 158.0.

    25.14.0release notes

  • Screencast frame sizes are rounded to whole pixels.

    25.14.0release notes

  • Closes the browser process when the BiDi close command fails.

    25.13.0release notes

  • Disconnects the browser when the close callback fails.

    25.13.0release notes

  • Waits for browser process termination and runs exit hooks after killing the process.

    25.13.0release notes

  • Preserves path prefixes in browserURL when connecting.

    25.13.0release notes

  • Rolls the bundled Chrome version forward.

    25.13.0release notesrelease notesrelease notes

  • Clearing custom query handlers also removes their injected scripts.

    25.13.0release notes

  • Supports additional media features that Chrome honors.

    25.13.0release notes

  • Removes the temporary profile when Firefox rejects pipes.

    25.13.0release notes

  • Rolls to Firefox 157.0.1.

    25.13.0release notes

  • Uses the shadow host when checking a text node's visibility in a shadow root.

    25.13.0release notes

  • Worker evaluation and close now settle when the script fails to load.

    25.13.0release notes

  • Puppeteer rolls to Chrome 154.0.8037.57, changing the Chrome version available to developers.

    25.12.0release notes

  • The mouse button is released when a drag or drop fails.

    25.12.0release notes

  • Puppeteer rolls to Firefox 156.0.1, changing the Firefox version available to developers.

    25.12.0release notes

  • For a text node in a shadow root, elementHandle now returns the shadow host.

    25.12.0release notes

  • Temporary profiles are now cleaned up when the process exits.

    25.12.0release notes

  • Rolls Chrome to 152.0.7977.75.

    25.10.0release notes

  • Rolls Firefox to 155.0.

    25.10.0release notes

  • Prevents the first screencast frame from being missed while startScreencast is in flight.

    25.10.0release notes

  • Distinguishes an unwritable userDataDir from one used by a running browser.

    25.10.0release notes

  • Detects websocket connections that die without sending a close.

    25.10.0release notes

  • Setting frame content no longer uses document.write.

    25.9.0release notes

  • Adds support for validatePath in computeSystemExecutablePath.

    25.8.0release notes

  • Browsers are launched in detached mode on Windows to fix flakiness.

    25.8.0release notes

  • Puppeteer rolls to Chrome 152.0.7977.42.

    25.7.0release notes

  • Puppeteer rolls to Firefox 153.0.4.

    25.7.0release notes

  • Fixes logger calls causing crashes.

    25.7.0release notes

  • The Chrome version Puppeteer rolls to is updated to 151.0.7922.77.

    25.6.0release notes

  • The Firefox version Puppeteer rolls to is updated to 153.0.3.

    25.6.0release notes

  • A per-frame fan-out no longer fails when an OOP iframe goes away.

    25.6.0release notes

  • The Chrome version is rolled to 151.0.7922.71.

    25.5.0release notes

  • The Firefox version is rolled to 153.0.1.

    25.5.0release notes

  • Headers are forwarded to browserURL HTTP discovery and the WebSocket connection.

    25.5.0release notes

  • The WebUIOmniboxPopup and WebUIOmniboxAimPopup features are disabled.

    25.5.0release notes

  • Combines duplicate BiDi response headers instead of overwriting them.

    25.4.0release notes

  • No longer throws when checking visibility for a detached text node.

    25.4.0release notes

  • The bundled Firefox version was rolled to 152.0.4.

    25.3.0release notes

  • Duplicate Set-Cookie headers are normalized using a newline.

    25.3.0release notes

  • Fixes handling of swaps that occur without a timer.

    25.3.0release notes

  • Fixed a regression when using Puppeteer with untrusted sessions.

    25.2.1release notes

  • Rolls the bundled Chrome version to 150.0.7871.24.

    25.2.0release notes

  • Rolls the bundled Firefox version to 152.0.1.

    25.2.0release notes

  • Corrects screencast frame timing so playback matches real time.

    25.2.0release notes

  • Blocks service worker registrations.

    25.2.0release notes

  • Invalidates WebMCP tools when their context is destroyed.

    25.2.0release notes

  • Waits for Worker script execution.

    25.2.0release notes

  • Puppeteer rolls to a Chrome version as a fix, which may affect browser behavior when running Puppeteer.

    25.1.0release notes

  • A TargetCloseError is thrown when a session ID is not found.

    25.0.4release notes

  • Rolled to Chrome 148.0.7778.167.

    25.0.1release notes

  • Enabled features now take precedence over disabled features.

    25.0.1release notes

puppeteer-core 24117 changes

Breaking changes 6

  • Networkidle options were removed from setContent.

    24.43.1release notes

  • Changes the invocation status from Success to Completed.

    24.41.0release notes

  • Calling request.headers() no longer allows mutating its data.

    24.26.0release notes

  • Support for Firefox over CDP was removed.

    24.0.0release notes

  • URLs returned by HTTPRequest and Response instances now include the URL fragment.

    24.0.0release notes

  • Deprecated Launch and Connect options were removed.

    24.0.0release notes

Security 1

  • A URL blocklist can restrict access to unauthorized sites.

    24.42.0release notes

Deprecations 1

  • The Cookie attribute sameParty is deprecated.

    24.35.0release notes

New APIs and options 35

  • Adds allowlist support.

    24.43.0release notes

  • Adds support for untrustedContent WebMCPAnnotation.

    24.43.0release notes

  • CDP now supports autofilling address information.

    24.42.0release notes

  • The extensions object now supports metadata.

    24.42.0release notes

  • Adds an API to list installed browser extensions and trigger extension actions.

    24.41.0release notes

  • Adds an API for extension realms.

    24.41.0release notes

  • Adds support for Issues.

    24.41.0release notes

  • Adds a hook for tool invocation.

    24.41.0release notes

  • Adds an initial API to inspect tool registrations.

    24.41.0release notes

  • Adds a hook for tool response.

    24.41.0release notes

  • Adds execute support for WebMCPTool.

    24.41.0release notes

  • Exposes WebMCPToolCall in WebMCPToolCallResult.

    24.41.0release notes

  • Adds support for this environment variable, allowing developers to configure Puppeteer’s sandbox behavior.

    24.40.0release notes

  • Exposes Page.hasDevTools as a new API.

    24.39.0release notes

  • Implements frame.frameElement() for WebDriver BiDi.

    24.37.0release notes

  • Exposes a page heap snapshot getter.

    24.37.0release notes

  • Supports AbortSignal in launch, allowing launch to be aborted.

    24.37.0release notes

  • Adds BrowserContext.setPermission for setting permissions on a browser context.

    24.37.0release notes

  • Adds window management support for WebDriver BiDi.

    24.37.0release notes

  • A background flag is supported when creating pages.

    24.35.0release notes

  • Publishes page.resize() as an API for developers to use.

    24.34.0release notes

  • Adds an API to get browser window bounds.

    24.33.0release notes

  • Adds an API to set browser window bounds.

    24.33.0release notes

  • Adds the ability to emulate a focused page.

    24.33.0release notes

  • Adds a method to retrieve the page's window ID.

    24.33.0release notes

  • Adds a method for adding a browser screen.

    24.32.0release notes

  • Adds Bluetooth emulation, including support via WebDriver BiDi.

    24.32.0release notes

  • Adds access to the browser's screens.

    24.32.0release notes

  • Adds support for new page window positioning.

    24.32.0release notes

  • Adds support for channel in puppeteer.connect.

    24.32.0release notes

  • Adds a method for removing a browser screen.

    24.32.0release notes

  • Adds the page.openDevTools() method for opening DevTools for a page.

    24.29.0release notes

  • newPage() gains window options, allowing developers to set window settings when creating a page.

    24.27.0release notes

  • page.reload() supports ignoreCache, allowing developers to control whether the cache is ignored during reload.

    24.27.0release notes

  • WebDriver now supports fetchPostData.

    24.26.0release notes

Performance 3

  • URL blocking on navigation was optimized.

    24.43.1release notes

  • Improves Locator.fill performance for large text.

    24.37.0release notes

  • Improves the XPathQuerySelector loop performance.

    24.37.0release notes

Behavior and default changes 11

  • Supports filling checkboxes and radios.

    24.43.0release notes

  • Removes RenderDocument from disabled Chrome features.

    24.41.0release notes

  • Updates the bundled Chrome version to 146.0.7680.153.

    24.40.0release notes

  • Rolled to Firefox 148.0.2, changing the Firefox version used with Puppeteer.

    24.39.1release notes

  • Puppeteer rolls to Firefox 148.0, changing the Firefox version used with this release.

    24.38.0release notes

  • Rolled to Firefox 147.0.4, changing the Firefox version used with Puppeteer.

    24.37.4release notes

  • Puppeteer now rolls to Chrome 145.0.7632.67, which may affect browser runtime behavior.

    24.37.3release notes

  • Accessibility tree snapshots include more properties.

    24.37.0release notes

  • Screen orientation emulation now uses BiDi.

    24.28.0release notes

  • Landmarks are now considered interesting for accessibility.

    24.26.0release notes

  • WebDriver can get detailed initiator data from CDP when available.

    24.26.0release notes

Fixes and other changes 60

  • BiDi URL restrictions are now rejected.

    24.43.1release notes

  • Puppeteer rolls to Firefox 150.0.2.

    24.43.1release notes

  • Avoids setting the global offline flag for allowlist.

    24.43.0release notes

  • Rolls to Chrome 148.0.7778.97.

    24.43.0release notes

  • Prevents opening DevTools when it is already open.

    24.43.0release notes

  • Rolls to Firefox 150.0.1.

    24.43.0release notes

  • When azimuthAngle is absent, altitudeAngle should not be specified.

    24.41.0release notes

  • Implements the console event on web workers.

    24.41.0release notes

  • Makes Target.asPage return the same Page instance.

    24.41.0release notes

  • Rolled to Chrome 146.0.7680.76, changing the Chrome version used with Puppeteer.

    24.39.1release notes

  • Rolls to Chrome 146.0.7680.66.

    24.39.0release notes

  • Puppeteer rolls to Chrome 146.0.7680.31, changing the Chrome version used with this release.

    24.38.0release notes

  • Puppeteer now considers browsingContext.navigationCommitted when deciding whether to dispose an existing navigation.

    24.38.0release notes

  • Puppeteer disables PartitionAllocSchedulerLoopQuarantineTaskControlledPurge.

    24.38.0release notes

  • Puppeteer rolls to Chrome 145.0.7632.77, changing the Chrome version associated with this release.

    24.37.5release notes

  • Added a catch handler to void initialize() in onAttachedToTarget, directing errors to debugError.

    24.37.4release notes

  • Rolled to Chrome 145.0.7632.76, changing the Chrome version used with Puppeteer.

    24.37.4release notes

  • Absolute user data directory paths are no longer resolved, avoiding unintended path changes.

    24.37.3release notes

  • Improves the results returned by ConsoleMessage text().

    24.37.2release notes

  • Rolled to Chrome 145.0.7632.46.

    24.37.1release notes

  • Rolled to Firefox 147.0.3.

    24.37.1release notes

  • Adds support for the Default SameSite cookie property.

    24.37.0release notes

  • Correctly maps window bounds in WebDriver BiDi.

    24.37.0release notes

  • Puppeteer rolls to Chrome 144.0.7559.96, changing the Chrome version it uses.

    24.36.0release notes

  • Puppeteer rolls to Firefox 147.0.1, changing the Firefox version it uses.

    24.36.0release notes

  • HTTPResponse.text() now throws when the response content is malformed, as expected.

    24.36.0release notes

  • The Chrome version Puppeteer rolls to is updated.

    24.35.0release notes

  • Fixes closing a page with iframes via webdriver.

    24.35.0release notes

  • Rolls to Chrome 143.0.7499.169.

    24.34.0release notes

  • Rolls to Firefox 146.0.1.

    24.34.0release notes

  • Puppeteer rolls to Chrome 143.0.7499.146.

    24.33.1release notes

  • DevTools worker targets should no longer be classified as DevToolsTarget.

    24.33.1release notes

  • The webdriver response event is emitted on network.responseStarted.

    24.33.1release notes

  • Fixes assertion errors and an incorrect URL when connecting with a channel.

    24.32.1release notes

  • Accessibility node attributes with false are no longer ignored.

    24.32.0release notes

  • Puppeteer rolls to Chrome 143.0.7499.40.

    24.32.0release notes

  • Puppeteer rolls to Firefox 145.0.2.

    24.32.0release notes

  • Non-page DevTools targets are ignored when handleDevToolsAsPage=true.

    24.32.0release notes

  • Scripts can throw platform objects.

    24.32.0release notes

  • Rolls to Chrome 142.0.7444.175.

    24.31.0release notes

  • Rolls to Firefox 145.0.1.

    24.31.0release notes

  • Fixes the TypeScript typing for path in ScreenshotOptions.

    24.31.0release notes

  • Updates the request with ExtraInfo when it is available.

    24.30.0release notes

  • Puppeteer rolls to Chrome 142.0.7444.162.

    24.30.0release notes

  • Puppeteer rolls to Firefox 145.0.

    24.30.0release notes

  • Roll to Chrome 142.0.7444.61.

    24.29.1release notes

  • Ignore “wasn't found” errors in NetworkManager.

    24.29.1release notes

  • Fixes tasks and session management in ExtensionTransport.

    24.29.0release notes

  • Connecting no longer waits for all targets.

    24.29.0release notes

  • Iframe snapshot errors are now caught.

    24.28.0release notes

  • Puppeteer rolls to Chrome 142.0.7444.59, changing the Chrome version associated with this release.

    24.27.0release notes

  • Puppeteer rolls to Firefox 144.0.2.

    24.27.0release notes

  • Puppeteer rolled to Chrome 141.0.7390.122.

    24.26.1release notes

  • The accessibility API now exposes the url property for links.

    24.26.1release notes

  • The pageerror event now uses the correct type.

    24.26.0release notes

  • Puppeteer rolls to Chrome 141.0.7390.78, changing the Chrome version used with this release.

    24.25.0release notes

  • Puppeteer rolls to Firefox 144.0, changing the Firefox version used with this release.

    24.25.0release notes

  • Puppeteer rolls to Chrome 131.0.6778.264.

    24.0.0release notes

  • The WebDriver integration now handles DiscardedBrowsingContextError.

    24.0.0release notes

  • Puppeteer rolls to Firefox 134.0.

    24.0.0release notes

puppeteer-core 2311 changes

Breaking changes 7

  • Whitespace normalization was removed from accessibility selectors.

    23.0.0release notes

  • The option was renamed from ignoreHttpsErrors to acceptInsecureCerts.

    23.0.0release notes

  • The product option was renamed to browser.

    23.0.0release notes

  • Firefox defaults to WebDriver BiDi.

    23.0.0release notes

  • Firefox is pinned to stable_129.0.

    23.0.0release notes

  • The deprecated Frame.isOOPFrame() method was removed.

    23.0.0release notes

  • isIncognito was removed.

    23.0.0release notes

New APIs and options 2

  • Puppeteer supports multiple browser downloads.

    23.0.0release notes

  • puppeteer.connect supports WebDriver capabilities.

    23.0.0release notes

Behavior and default changes 1

  • Uint8Array is used instead of Buffer for browser compatibility.

    23.0.0release notes

Fixes and other changes 1

  • Connecting now waits only for page and frame targets.

    23.0.0release notes

puppeteer-core 2219 changes

Breaking changes 17

  • PDFs are now generated accessibly by default.

    22.0.0release notes

  • add/removeEventListener was removed in favor of on/off.

    22.0.0release notes

  • createIncognitoBrowserContext was renamed to createBrowserContext; update calls to use the new method.

    22.0.0release notes

  • CustomError was changed to PuppeteerError.

    22.0.0release notes

  • devices was removed in favor of KnownDevices.

    22.0.0release notes

  • Duplicate type names were removed.

    22.0.0release notes

  • ElementHandle.screenshot no longer resizes the viewport.

    22.0.0release notes

  • The error const was removed, and CustomError was changed to PuppeteerError.

    22.0.0release notes

  • InterceptResolutionStrategy was removed.

    22.0.0release notes

  • networkConditions was removed in favor of PredefinedNetworkConditions.

    22.0.0release notes

  • The new-headless mode is enabled by default.

    22.0.0release notes

  • Support for Node.js 16 was dropped.

    22.0.0release notes

  • PUPPETEER_DOWNLOAD_PATH was removed in favor of PUPPETEER_CACHE_DIR.

    22.0.0release notes

  • Puppeteer now uses ReadableStreams.

    22.0.0release notes

  • waitForTimeout was removed.

    22.0.0release notes

  • waitForXpath and $x were removed.

    22.0.0release notes

  • $x and waitForXpath were removed.

    22.0.0release notes

New APIs and options 1

Behavior and default changes 1

  • The console warn level is now compatible with WebDriver BiDi.

    22.0.0release notes

puppeteer-core 219 changes

Breaking changes 2

  • Filters use Target, a breaking change for code that used the previous filter type.

    21.0.0release notes

  • Removes TypeScript from peer dependencies, changing package installation requirements.

    21.0.0release notes

New APIs and options 6

Behavior and default changes 1

puppeteer-core 203 changes

Breaking changes 2

  • Puppeteer switches from Chromium to Chrome for Testing.

    20.0.0release notes

  • Support for Node.js 14 was dropped, so applications must use a supported Node.js version.

    20.0.0release notes

New APIs and options 1

  • waitForFunction accepts an AbortSignal, allowing callers to abort its wait.

    20.0.0release notes

puppeteer-core 198 changes

Breaking changes 4

  • Browser downloads now use ~/.cache/puppeteer, changing where downloaded browsers are stored.

    19.0.0release notes

  • The custom query handler API was refactored, which may require changes to custom query handler integrations.

    19.0.0release notes

  • puppeteer.devices was removed in favor of KnownDevices.

    19.0.0release notes

  • Viewport conditions were removed from waitForSelector.

    19.0.0release notes

Deprecations 3

  • createBrowserFetcher is deprecated in favor of BrowserFetcher.

    19.0.0release notes

  • Indirect error imports are deprecated.

    19.0.0release notes

  • Indirect imports of network conditions are deprecated.

    19.0.0release notes

New APIs and options 1

  • JavaScript code coverage can now be collected at the function level.

    19.0.0release notes

puppeteer-core 184 changes

Breaking changes 1

  • Fixes bounding box visibility conditions, changing when bounding boxes are considered visible.

    18.0.0release notes

New APIs and options 1

Fixes and other changes 2

  • Uses the win64 version of Chromium when running on arm64 Windows.

    18.0.0release notes

  • Suppresses initialization errors if the target is closed.

    18.0.0release notes

puppeteer-core 172 changes

Breaking changes 2

  • Execution context was internalized, changing its public API availability.

    17.0.0release notes

  • Removed the root option from WaitForSelectorOptions.

    17.0.0release notes

puppeteer-core 165 changes

Breaking changes 1

  • With Chromium, Puppeteer now attaches to page and iframe targets immediately to allow reliable configuration of targets.

    16.0.0release notes

Behavior and default changes 1

  • Firefox is detected automatically when using connect().

    16.0.0release notes

Tooling 1

  • A Dockerfile was added for using Puppeteer in Docker.

    16.0.0release notes

Fixes and other changes 2

puppeteer-core 152 changes

Breaking changes 1

  • Changes type inference for evaluation types; this is a breaking change.

    15.0.0release notes

New APIs and options 1

  • Adds an experimental client property to HTTPRequest.

    15.0.0release notes

puppeteer-core 147 changes

Breaking changes 1

New APIs and options 1

Behavior and default changes 1

  • Adds support for Apple Silicon Chromium builds.

    14.0.0release notes

Fixes and other changes 4

  • Rolls to Chromium 102.0.5002.0 (r991974), changing the bundled browser version.

    14.0.0release notes

  • Fixes strict mode issues in the HTTPRequest class.

    14.0.0release notes

  • Fixes strict mode issues in the HTTPResponse class.

    14.0.0release notes

  • Fixes attachment so inner OOPIFs can be attached to.

    14.0.0release notes

puppeteer-core 135 changes

Breaking changes 2

  • Corrects a typo in the already-handled constant of the request interception API; this is a breaking change.

    13.0.0release notes

  • Reverts allowing Puppeteer to be used without the DOM library in TypeScript.

    13.0.0release notes

New APIs and options 2

  • Implements waitForSelector on ElementHandle.

    13.0.0release notes

  • Exposes the HTTPRequest interception resolution state so developers can inspect how interception has been resolved.

    13.0.0release notes

Fixes and other changes 1

  • Handles multiple or duplicate Fetch.requestPaused events.

    13.0.0release notes

puppeteer-core 125 changes

New APIs and options 1

  • Firefox now supports a custom user data (profile) directory.

    12.0.0release notes

Behavior and default changes 2

  • Puppeteer only kills the process when no browser instance is available.

    12.0.0release notes

  • Puppeteer rolls to Chromium 97.0.4692.0, which may change browser behavior for developers using the bundled Chromium.

    12.0.0release notes

Fixes and other changes 2

  • ARIA attribute selectors now allow single quotes.

    12.0.0release notes

  • Puppeteer now parses statusText from the extraInfo event.

    12.0.0release notes

puppeteer-core 1111 changes

Breaking changes 1

  • OOP iframes are integrated with the frame manager, changing how they are handled; this is a breaking change.

    11.0.0release notes

New APIs and options 4

Behavior and default changes 1

  • BrowserFetcher now supports relative install paths.

    11.0.0release notes

Fixes and other changes 5

  • launcher.launch() now passes the timeout option.

    11.0.0release notes

  • exposeFunction falls back to default when using an imported module.

    11.0.0release notes

  • The request event behavior of page.off is fixed.

    11.0.0release notes

  • The error message for response.buffer() is improved.

    11.0.0release notes

  • Target closed errors are prevented on streams.

    11.0.0release notes

puppeteer-core 106 changes

Breaking changes 2

  • The cacheSafe flag is removed from request interception.

    10.0.0release notes

  • Node.js 10 is no longer supported; developers must use a supported Node.js version.

    10.0.0release notes

New APIs and options 2

  • Other sessions can now be accessed from a connection.

    10.0.0release notes

  • The launcher adds the waitForInitialPage option.

    10.0.0release notes

Fixes and other changes 2

  • Puppeteer rolls to Chromium 92.0.4512.0.

    10.0.0release notes

  • Fixes a font loading issue when request interception is used.

    10.0.0release notes

puppeteer-core 916 changes

New APIs and options 1

Behavior and default changes 3

  • Makes the $ selector generic.

    9.0.0release notes

  • Makes the $$ selector generic.

    9.0.0release notes

  • FileChooser.cancel() is now synchronous, so callers should no longer treat it as asynchronous.

    9.0.0release notes

Tooling 1

Fixes and other changes 11

  • Fixes an installation error on Apple M1 chips.

    9.0.0release notes

  • Fixes parsing of ARIA selectors.

    9.0.0release notes

  • The cache is no longer disabled for an authentication challenge.

    9.0.0release notes

  • Puppeteer rolls to Chromium 91.0.4469.0, changing the bundled browser version.

    9.0.0release notes

  • Allows defaultViewport to be null in TypeScript.

    9.0.0release notes

  • Fixes the mouse.click method.

    9.0.0release notes

  • Corrects the types for page event listeners.

    9.0.0release notes

  • Fixes screenshots in puppeteer-web.

    9.0.0release notes

  • Improves compatibility between request interception and caching.

    9.0.0release notes

  • The screenshot parameter captureBeyondViewport is now optional.

    9.0.0release notes

  • The event is emitted after the Worker is removed.

    9.0.0release notes

puppeteer-core 86 changes

Breaking changes 2

  • Renames BrowserOptions to BrowserConnectOptions, changing the type name used for browser connection options.

    8.0.0release notes

  • Renames ChromeArgOptions to BrowserLaunchArgumentOptions, changing the type name used for browser launch arguments.

    8.0.0release notes

New APIs and options 1

  • Exposes the Viewport type for use by developers.

    8.0.0release notes

Behavior and default changes 1

  • Rolls Chromium to r856583, which may affect browser behavior when running Puppeteer.

    8.0.0release notes

Tooling 2

  • Improves TypeScript types for launching browsers.

    8.0.0release notes

  • Makes the HTTPRequest.resourceType type definitions explicit.

    8.0.0release notes

puppeteer-core 72 changes

Breaking changes 2

  • Screenshots use the clip dimensions rather than being cut by the viewport size.

    7.0.0release notes

  • Chromium screenshots cut content by the viewport size rather than the viewport position.

    7.0.0release notes

puppeteer-core 68 changes

Breaking changes 2

  • The built-in aria/ selector query handler no longer returns ignored elements.

    6.0.0release notes

  • Renames TranslateUI to Translate to match Chrome.

    6.0.0release notes

New APIs and options 1

Behavior and default changes 2

  • Puppeteer supports fetching and launching on Apple M1.

    6.0.0release notes

  • The page.waitForResponse predicate can now return a promise.

    6.0.0release notes

Tooling 1

  • Puppeteer now ships built-in TypeScript definitions and exposes typedefs to consumers, so installing @types/puppeteer is no longer necessary.

    6.0.0release notes

Fixes and other changes 2

puppeteer-core 57 changes

Breaking changes 3

  • Removed the deprecated method; use page.emulateMediaType, which behaves identically.

    5.0.0release notes

  • Removed this top-level package file; access the same data via puppeteer.devices.

    5.0.0release notes

  • Removed this top-level package file; access the same data via puppeteer.errors.

    5.0.0release notes

Tooling 3

Fixes and other changes 1

puppeteer-core 48 changes

Breaking changes 4

  • Removed from Puppeteer classes that extend EventEmitter because Puppeteer no longer uses Node’s EventEmitter.

    4.0.0release notes

  • The EventEmitter static method is no longer supported.

    4.0.0release notes

  • Puppeteer no longer emits this event when a listener is added.

    4.0.0release notes

  • Puppeteer no longer emits this event when a listener is removed.

    4.0.0release notes

New APIs and options 1

  • Call this on a Puppeteer page to find out if JavaScript is enabled on the page.

    4.0.0release notes

Behavior and default changes 1

  • Send and receive debug logs are split into separate channels, making the logs clearer.

    4.0.0release notes

Fixes and other changes 2

  • Error reporting was improved on aarch64.

    4.0.0release notes

  • Puppeteer is better at killing lingering browser processes, especially when a test run exits with Ctrl-C.

    4.0.0release notes

puppeteer-core 35 changes

Breaking changes 1

New APIs and options 1

  • Setting PUPPETEER_PRODUCT=firefox during npm install lets Puppeteer fetch a Firefox Nightly binary.

    3.0.0release notes

Behavior and default changes 2

  • Puppeteer now uses Chromium 81.0.4044.0, which may affect browser behavior.

    3.0.0release notes

  • The install.js script can now be run with puppeteer-core.

    3.0.0release notes

Fixes and other changes 1

  • File uploads are generally more reliable, and uploadFile now triggers a change event, matching the old behavior in Puppeteer v1.20.0.

    3.0.0release notes