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 initpuppeteer-core 25171 changes
Breaking changes 15
In BiDi, page.setCacheEnabled() now enables the cache by default.
Pending worker requests now fail when the worker terminates.
Rejects read-only elements and values the element does not accept.
PWA access is rejected when network conditions are configured.
Puppeteer no longer overrides the user agent when nothing is emulated.
The deprecated Browser.isConnected() method is removed.
The Cookie sameParty attribute is removed.
defaultArgs now returns a Promise, so callers must handle its asynchronous result.
Puppeteer packages are ESM-only; projects using CommonJS must adapt their module usage.
executablePath now returns a Promise, so callers must handle its asynchronous result.
Newline-separated headers are normalized to comma-separated format.
The deprecated MouseOptions.clickCount option is removed.
Standard network emulation reset is blocked when an allowlist or blocklist is enabled.
The minimum Node.js version is bumped to 22, affecting which runtimes can run Puppeteer.
The deprecated Puppeteer.product property is removed; code relying on it must use another approach.
Security 3
CRLF is now validated in input HTTPRequest headers.
Blocklists and allowlists are now enforced for service worker requests.
Applies the allowlist to non-auto-attach sessions.
New APIs and options 36
Adds a page event for new-document frame navigations.
Adds a page event for same-document frame navigations.
Adds RemoteException support for WebDriver BiDi and CDP.
Introduces RemoteException for CDP.
Adds network logs for workers.
Browser and BrowserContext now expose console events, including dedicated worker console messages.
Adds page and worker methods on HTTPRequest.
Adds HTTPResponse.encodedDataLength() to expose the response's encoded data length.
Adds HTTPResponse.stream() for accessing a response as a stream.
Locator.filter now supports passing arguments.
Locator.map now supports passing arguments.
Introduces an additional network event on Browser and BrowserContext.
page.metrics() now exposes DomContentLoaded and NavigationStart.
Browser and BrowserContext now expose request events.
ConsoleMessageLocation now includes scriptId.
Adds an API for setting allow/block lists.
Passing null removes the geolocation override.
Adds page.tabInfo().
Adds handshakeTimeout to wsOptions.
Request interception and extra headers now accept Headers instances.
Adds methods to access the page, frame, and worker associated with a console message.
Adds asFetchRequest to HTTPRequest.
Adds asFetchResponse to HTTPResponse.
The WebSocket max payload can now be configured.
Adds video-stream-based screen recording through page.record().
WebMCP now supports canceling tool execution.
Adds support for the followSymlinks option.
tracing.start supports the bufferSize option.
Custom Logger support is exposed through launch and connect.
Dialog status is now tracked.
Adds browser-level APIs to install, launch, and uninstall PWAs.
Adds a handled getter to Dialog.
Exposes Explicit Resource Management using support.
Browser contexts can now have extensions installed.
Adds page locale emulation so developers can set the locale used by a page.
Adds waitForFunction to web workers, allowing developers to wait for a function to become truthy in a worker.
Performance 1
Counting in-flight requests now runs in linear time.
Behavior and default changes 9
Supports unmodified post data and decodes base64 post data.
Puppeteer rolls to Chrome 153.0.8010.36, changing the Chrome version used with puppeteer-core.
Puppeteer rolls to Firefox 155.0.1, changing the Firefox version used with puppeteer-core.
Puppeteer now rolls to Chrome 152.0.7977.54, which may affect the browser version developers run.
Puppeteer now rolls to Firefox 154.0, which may affect the browser version developers run.
MutationPoller now supports shadow roots.
Allows extensions to run over WebSockets.
Puppeteer rolls to a newer Chrome version, which may affect browser behavior when running Puppeteer.
Puppeteer rolls to a newer Firefox version, which may affect browser behavior when running Puppeteer.
Fixes and other changes 107
In BiDi, page.reload() now waits for the new document.
Operations now reject immediately when the signal is already aborted.
No longer modifies the options passed to addStyleTag.
Now honors the signal option.
Puppeteer rolls to Chrome 157.0.8103.78.
WebDriver BiDi now resets setPermission overrides when clearing permission overrides.
No longer modifies the options passed to connect.
WebDriver BiDi now sends cookie expiry as an integer.
CDP now deletes cookies from the page partition for default port pages.
Puppeteer rolls to Firefox 160.0.
WebDriver BiDi now honors the signal while goBack() waits.
WebDriver BiDi now honors the signal while goForward() waits.
CDP now honors the signal option in goto().
WebDriver now returns the placeholder remote address.
No longer modifies the options passed to launch.
Already-aborted signals are honored by navigation methods.
Now honors the signal option.
Text selectors now query the light DOM of shadow hosts.
Values containing equals signs are now preserved.
Already-aborted signals are honored by waitForFunction().
CDP ConsoleMessage.text() now includes null and undefined.
In BiDi respond(), contentType can now replace a content-type header.
defaultArgs no longer mutates options.args.
BiDi now applies downloadBehavior from launch and connect options.
evaluate no longer throws when the caller stack frame is missing.
In BiDi, page.cookies() now returns domain cookies for the domain itself.
BiDi now keeps the plain GMT timezone ID when emulating a timezone.
BiDi now sends the default accuracy when setting geolocation.
BiDi now updates Request.isBlocked on network lifecycle events.
The requestfailed event is now emitted when loadingFailed precedes requestPaused.
BiDi now tolerates respond() and abort() failures for requests that are gone.
BiDi page.pdf() now respects waitForFonts.
Browser WebSocket transport errors are logged.
Puppeteer rolls to Chrome 156.0.8078.47.
Respects lengthUnit when determining the default paper size.
Respects domain, path, url, and partitionKey when deleting matching cookies.
Reports permission denied when DevToolsActivePort fails with EPERM or EACCES.
Events without backendNodeId are ignored.
Puppeteer rolls to Firefox 158.0.1.
Undefined header values are skipped when responding to a request.
Falls back to blockedReason when errorText is empty.
The navigation timeout is respected after a follow-up navigation.
Accepts page ranges without spaces.
Returns post data for a paused request without asking Chrome.
Types an apostrophe for the Quote key in WebDriver.
Request headers are updated on response and error events in BiDi.
Requests are intercepted on the session that paused them.
Returns null after a navigation.
The replaced service worker target is destroyed when an extension is re-installed.
Uses exact CSS unit ratios.
Handles rejections from continueWithAuth.
Applies dynamic network restrictions to service workers that are already running.
Avoids emitting a duplicate request when restarting Fetch.requestPaused.
Handles stop() rejection when page.record() fails to start.
Stops in-page pollers created after WaitTask termination.
Puppeteer rolls to Firefox 158.0.
Screencast frame sizes are rounded to whole pixels.
Closes the browser process when the BiDi close command fails.
Disconnects the browser when the close callback fails.
Waits for browser process termination and runs exit hooks after killing the process.
Preserves path prefixes in browserURL when connecting.
Rolls the bundled Chrome version forward.
Clearing custom query handlers also removes their injected scripts.
Supports additional media features that Chrome honors.
Removes the temporary profile when Firefox rejects pipes.
Rolls to Firefox 157.0.1.
Uses the shadow host when checking a text node's visibility in a shadow root.
Worker evaluation and close now settle when the script fails to load.
Puppeteer rolls to Chrome 154.0.8037.57, changing the Chrome version available to developers.
The mouse button is released when a drag or drop fails.
Puppeteer rolls to Firefox 156.0.1, changing the Firefox version available to developers.
For a text node in a shadow root, elementHandle now returns the shadow host.
Temporary profiles are now cleaned up when the process exits.
Rolls Chrome to 152.0.7977.75.
Rolls Firefox to 155.0.
Prevents the first screencast frame from being missed while startScreencast is in flight.
Distinguishes an unwritable userDataDir from one used by a running browser.
Detects websocket connections that die without sending a close.
Setting frame content no longer uses document.write.
Adds support for validatePath in computeSystemExecutablePath.
Browsers are launched in detached mode on Windows to fix flakiness.
Puppeteer rolls to Chrome 152.0.7977.42.
Puppeteer rolls to Firefox 153.0.4.
Fixes logger calls causing crashes.
The Chrome version Puppeteer rolls to is updated to 151.0.7922.77.
The Firefox version Puppeteer rolls to is updated to 153.0.3.
A per-frame fan-out no longer fails when an OOP iframe goes away.
The Chrome version is rolled to 151.0.7922.71.
The Firefox version is rolled to 153.0.1.
Headers are forwarded to browserURL HTTP discovery and the WebSocket connection.
The WebUIOmniboxPopup and WebUIOmniboxAimPopup features are disabled.
Combines duplicate BiDi response headers instead of overwriting them.
No longer throws when checking visibility for a detached text node.
The bundled Firefox version was rolled to 152.0.4.
Duplicate Set-Cookie headers are normalized using a newline.
Fixes handling of swaps that occur without a timer.
Fixed a regression when using Puppeteer with untrusted sessions.
Rolls the bundled Chrome version to 150.0.7871.24.
Rolls the bundled Firefox version to 152.0.1.
Corrects screencast frame timing so playback matches real time.
Blocks service worker registrations.
Invalidates WebMCP tools when their context is destroyed.
Waits for Worker script execution.
Puppeteer rolls to a Chrome version as a fix, which may affect browser behavior when running Puppeteer.
A TargetCloseError is thrown when a session ID is not found.
Rolled to Chrome 148.0.7778.167.
Enabled features now take precedence over disabled features.
puppeteer-core 24117 changes
Breaking changes 6
Networkidle options were removed from setContent.
Changes the invocation status from Success to Completed.
Calling request.headers() no longer allows mutating its data.
Support for Firefox over CDP was removed.
URLs returned by HTTPRequest and Response instances now include the URL fragment.
Deprecated Launch and Connect options were removed.
Security 1
A URL blocklist can restrict access to unauthorized sites.
Deprecations 1
The Cookie attribute sameParty is deprecated.
New APIs and options 35
Adds allowlist support.
Adds support for untrustedContent WebMCPAnnotation.
CDP now supports autofilling address information.
The extensions object now supports metadata.
Adds an API to list installed browser extensions and trigger extension actions.
Adds an API for extension realms.
Adds support for Issues.
Adds a hook for tool invocation.
Adds an initial API to inspect tool registrations.
Adds a hook for tool response.
Adds execute support for WebMCPTool.
Exposes WebMCPToolCall in WebMCPToolCallResult.
Adds support for this environment variable, allowing developers to configure Puppeteer’s sandbox behavior.
Exposes Page.hasDevTools as a new API.
Implements frame.frameElement() for WebDriver BiDi.
Exposes a page heap snapshot getter.
Supports AbortSignal in launch, allowing launch to be aborted.
Adds BrowserContext.setPermission for setting permissions on a browser context.
Adds window management support for WebDriver BiDi.
A background flag is supported when creating pages.
Publishes page.resize() as an API for developers to use.
Adds an API to get browser window bounds.
Adds an API to set browser window bounds.
Adds the ability to emulate a focused page.
Adds a method to retrieve the page's window ID.
Adds a method for adding a browser screen.
Adds Bluetooth emulation, including support via WebDriver BiDi.
Adds access to the browser's screens.
Adds support for new page window positioning.
Adds support for channel in puppeteer.connect.
Adds a method for removing a browser screen.
Adds the page.openDevTools() method for opening DevTools for a page.
newPage() gains window options, allowing developers to set window settings when creating a page.
page.reload() supports ignoreCache, allowing developers to control whether the cache is ignored during reload.
WebDriver now supports fetchPostData.
Performance 3
URL blocking on navigation was optimized.
Improves Locator.fill performance for large text.
Improves the XPathQuerySelector loop performance.
Behavior and default changes 11
Supports filling checkboxes and radios.
Removes RenderDocument from disabled Chrome features.
Updates the bundled Chrome version to 146.0.7680.153.
Rolled to Firefox 148.0.2, changing the Firefox version used with Puppeteer.
Puppeteer rolls to Firefox 148.0, changing the Firefox version used with this release.
Rolled to Firefox 147.0.4, changing the Firefox version used with Puppeteer.
Puppeteer now rolls to Chrome 145.0.7632.67, which may affect browser runtime behavior.
Accessibility tree snapshots include more properties.
Screen orientation emulation now uses BiDi.
Landmarks are now considered interesting for accessibility.
WebDriver can get detailed initiator data from CDP when available.
Fixes and other changes 60
BiDi URL restrictions are now rejected.
Puppeteer rolls to Firefox 150.0.2.
Avoids setting the global offline flag for allowlist.
Rolls to Chrome 148.0.7778.97.
Prevents opening DevTools when it is already open.
Rolls to Firefox 150.0.1.
When azimuthAngle is absent, altitudeAngle should not be specified.
Implements the console event on web workers.
Makes Target.asPage return the same Page instance.
Rolled to Chrome 146.0.7680.76, changing the Chrome version used with Puppeteer.
Rolls to Chrome 146.0.7680.66.
Puppeteer rolls to Chrome 146.0.7680.31, changing the Chrome version used with this release.
Puppeteer now considers browsingContext.navigationCommitted when deciding whether to dispose an existing navigation.
Puppeteer disables PartitionAllocSchedulerLoopQuarantineTaskControlledPurge.
Puppeteer rolls to Chrome 145.0.7632.77, changing the Chrome version associated with this release.
Added a catch handler to void initialize() in onAttachedToTarget, directing errors to debugError.
Rolled to Chrome 145.0.7632.76, changing the Chrome version used with Puppeteer.
Absolute user data directory paths are no longer resolved, avoiding unintended path changes.
Improves the results returned by ConsoleMessage text().
Rolled to Chrome 145.0.7632.46.
Rolled to Firefox 147.0.3.
Adds support for the Default SameSite cookie property.
Correctly maps window bounds in WebDriver BiDi.
Puppeteer rolls to Chrome 144.0.7559.96, changing the Chrome version it uses.
Puppeteer rolls to Firefox 147.0.1, changing the Firefox version it uses.
HTTPResponse.text() now throws when the response content is malformed, as expected.
The Chrome version Puppeteer rolls to is updated.
Fixes closing a page with iframes via webdriver.
Rolls to Chrome 143.0.7499.169.
Rolls to Firefox 146.0.1.
Puppeteer rolls to Chrome 143.0.7499.146.
DevTools worker targets should no longer be classified as DevToolsTarget.
The webdriver response event is emitted on network.responseStarted.
Fixes assertion errors and an incorrect URL when connecting with a channel.
Accessibility node attributes with false are no longer ignored.
Puppeteer rolls to Chrome 143.0.7499.40.
Puppeteer rolls to Firefox 145.0.2.
Non-page DevTools targets are ignored when handleDevToolsAsPage=true.
Scripts can throw platform objects.
Rolls to Chrome 142.0.7444.175.
Rolls to Firefox 145.0.1.
Fixes the TypeScript typing for path in ScreenshotOptions.
Updates the request with ExtraInfo when it is available.
Puppeteer rolls to Chrome 142.0.7444.162.
Puppeteer rolls to Firefox 145.0.
Roll to Chrome 142.0.7444.61.
Ignore “wasn't found” errors in NetworkManager.
Fixes tasks and session management in ExtensionTransport.
Connecting no longer waits for all targets.
Iframe snapshot errors are now caught.
Puppeteer rolls to Chrome 142.0.7444.59, changing the Chrome version associated with this release.
Puppeteer rolls to Firefox 144.0.2.
Puppeteer rolled to Chrome 141.0.7390.122.
The accessibility API now exposes the url property for links.
The pageerror event now uses the correct type.
Puppeteer rolls to Chrome 141.0.7390.78, changing the Chrome version used with this release.
Puppeteer rolls to Firefox 144.0, changing the Firefox version used with this release.
Puppeteer rolls to Chrome 131.0.6778.264.
The WebDriver integration now handles DiscardedBrowsingContextError.
Puppeteer rolls to Firefox 134.0.
puppeteer-core 2311 changes
Breaking changes 7
Whitespace normalization was removed from accessibility selectors.
The option was renamed from ignoreHttpsErrors to acceptInsecureCerts.
The product option was renamed to browser.
Firefox defaults to WebDriver BiDi.
Firefox is pinned to stable_129.0.
The deprecated Frame.isOOPFrame() method was removed.
isIncognito was removed.
New APIs and options 2
Puppeteer supports multiple browser downloads.
puppeteer.connect supports WebDriver capabilities.
Behavior and default changes 1
Uint8Array is used instead of Buffer for browser compatibility.
Fixes and other changes 1
Connecting now waits only for page and frame targets.
puppeteer-core 2219 changes
Breaking changes 17
PDFs are now generated accessibly by default.
add/removeEventListener was removed in favor of on/off.
createIncognitoBrowserContext was renamed to createBrowserContext; update calls to use the new method.
CustomError was changed to PuppeteerError.
devices was removed in favor of KnownDevices.
Duplicate type names were removed.
ElementHandle.screenshot no longer resizes the viewport.
The error const was removed, and CustomError was changed to PuppeteerError.
InterceptResolutionStrategy was removed.
networkConditions was removed in favor of PredefinedNetworkConditions.
The new-headless mode is enabled by default.
Support for Node.js 16 was dropped.
PUPPETEER_DOWNLOAD_PATH was removed in favor of PUPPETEER_CACHE_DIR.
Puppeteer now uses ReadableStreams.
waitForTimeout was removed.
waitForXpath and $x were removed.
$x and waitForXpath were removed.
New APIs and options 1
BiDi cookies are supported.
Behavior and default changes 1
The console warn level is now compatible with WebDriver BiDi.
puppeteer-core 219 changes
Breaking changes 2
Filters use Target, a breaking change for code that used the previous filter type.
Removes TypeScript from peer dependencies, changing package installation requirements.
New APIs and options 6
Adds function locators.
Adds filter to Locator.
Adds map to Locator.
Adds wait to Locator.
Adds waitHandle to Locator.
Adds a method to create a CDP session from a page.
Behavior and default changes 1
Locator operations are immutable.
puppeteer-core 203 changes
Breaking changes 2
Puppeteer switches from Chromium to Chrome for Testing.
Support for Node.js 14 was dropped, so applications must use a supported Node.js version.
New APIs and options 1
waitForFunction accepts an AbortSignal, allowing callers to abort its wait.
puppeteer-core 198 changes
Breaking changes 4
Browser downloads now use ~/.cache/puppeteer, changing where downloaded browsers are stored.
The custom query handler API was refactored, which may require changes to custom query handler integrations.
puppeteer.devices was removed in favor of KnownDevices.
Viewport conditions were removed from waitForSelector.
Deprecations 3
createBrowserFetcher is deprecated in favor of BrowserFetcher.
Indirect error imports are deprecated.
Indirect imports of network conditions are deprecated.
New APIs and options 1
JavaScript code coverage can now be collected at the function level.
puppeteer-core 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 when running on arm64 Windows.
Suppresses initialization errors if the target is closed.
puppeteer-core 172 changes
Breaking changes 2
Execution context was internalized, changing its public API availability.
Removed the root option from WaitForSelectorOptions.
puppeteer-core 165 changes
Breaking changes 1
With Chromium, Puppeteer now attaches to page and iframe targets immediately to allow reliable configuration of targets.
Behavior and default changes 1
Firefox is detected automatically when using connect().
Tooling 1
A Dockerfile was added for using Puppeteer in Docker.
Fixes and other changes 2
AcceptCHFrame was disabled.
Frame handling flakiness was addressed.
puppeteer-core 152 changes
Breaking changes 1
Changes type inference for evaluation types; this is a breaking change.
New APIs and options 1
Adds an experimental client property to HTTPRequest.
puppeteer-core 147 changes
Breaking changes 1
Node 12 is no longer supported.
New APIs and options 1
Adds support for using ES modules.
Behavior and default changes 1
Adds support for Apple Silicon Chromium builds.
Fixes and other changes 4
Rolls to Chromium 102.0.5002.0 (r991974), changing the bundled browser version.
Fixes strict mode issues in the HTTPRequest class.
Fixes strict mode issues in the HTTPResponse class.
Fixes attachment so inner OOPIFs can be attached to.
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.
Reverts allowing Puppeteer to be used without the DOM library in TypeScript.
New APIs and options 2
Implements waitForSelector on ElementHandle.
Exposes the HTTPRequest interception resolution state so developers can inspect how interception has been resolved.
Fixes and other changes 1
Handles multiple or duplicate Fetch.requestPaused events.
puppeteer-core 125 changes
New APIs and options 1
Firefox now supports 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 change browser behavior for developers using the bundled Chromium.
Fixes and other changes 2
ARIA attribute selectors now allow single quotes.
Puppeteer now parses statusText from the extraInfo event.
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.
New APIs and options 4
A custom debugging port option is added.
HTTPRequest gains an initiator.
The screenshot quality option allow list now includes webp.
The temporary directory can be customized.
Behavior and default changes 1
BrowserFetcher now supports relative install paths.
Fixes and other changes 5
launcher.launch() now passes the timeout option.
exposeFunction falls back to default when using an imported module.
The request event behavior of page.off is fixed.
The error message for response.buffer() is improved.
Target closed errors are prevented on streams.
puppeteer-core 106 changes
Breaking changes 2
The cacheSafe flag is removed from request interception.
Node.js 10 is no longer supported; developers must use a supported Node.js version.
New APIs and options 2
Other sessions can now be accessed from a connection.
The launcher adds the waitForInitialPage option.
Fixes and other changes 2
Puppeteer rolls to Chromium 92.0.4512.0.
Fixes a font loading issue when request interception is used.
puppeteer-core 916 changes
New APIs and options 1
Adds the omitBackground option to page.pdf.
Behavior and default changes 3
Makes the $ selector generic.
Makes the $$ selector generic.
FileChooser.cancel() is now synchronous, so callers should no longer treat it as asynchronous.
Tooling 1
Improves the type of predicate functions.
Fixes and other changes 11
Fixes an installation error on Apple M1 chips.
Fixes parsing of ARIA selectors.
The cache is no longer disabled for an authentication challenge.
Puppeteer rolls to Chromium 91.0.4469.0, changing the bundled browser version.
Allows defaultViewport to be null in TypeScript.
Fixes the mouse.click method.
Corrects the types for page event listeners.
Fixes screenshots in puppeteer-web.
Improves compatibility between request interception and caching.
The screenshot parameter captureBeyondViewport is now optional.
The event is emitted after the Worker is removed.
puppeteer-core 86 changes
Breaking changes 2
Renames BrowserOptions to BrowserConnectOptions, changing the type name used for browser connection options.
Renames ChromeArgOptions to BrowserLaunchArgumentOptions, changing the type name used for browser launch arguments.
New APIs and options 1
Exposes the Viewport type for use by developers.
Behavior and default changes 1
Rolls Chromium to r856583, which may affect browser behavior when running Puppeteer.
Tooling 2
Improves TypeScript types for launching browsers.
Makes the HTTPRequest.resourceType type definitions explicit.
puppeteer-core 72 changes
Breaking changes 2
Screenshots use the clip dimensions rather than being cut by the viewport size.
Chromium screenshots cut content by the viewport size rather than the viewport position.
puppeteer-core 68 changes
Breaking changes 2
The built-in aria/ selector query handler no longer returns ignored elements.
Renames TranslateUI to Translate to match Chrome.
New APIs and options 1
Adds page.emulateNetworkConditions.
Behavior and default changes 2
Puppeteer supports fetching and launching on Apple M1.
The page.waitForResponse predicate can now return a promise.
Tooling 1
Puppeteer now ships built-in TypeScript definitions and exposes typedefs to consumers, so installing @types/puppeteer is no longer necessary.
Fixes and other changes 2
Puppeteer rolls Chromium to r843427.
Adds iPhone 11 models to DeviceDescriptors.
puppeteer-core 57 changes
Breaking changes 3
Removed the deprecated method; use page.emulateMediaType, which behaves identically.
Removed this top-level package file; access the same data via puppeteer.devices.
Removed this top-level package file; access the same data via puppeteer.errors.
Tooling 3
Added TypeScript types for $eval.
Improved TypeScript typing for evaluate.
Added and corrected TypeScript types for evaluateHandle.
Fixes and other changes 1
Corrected the options type so it is optional.
puppeteer-core 48 changes
Breaking changes 4
Removed from Puppeteer classes that extend EventEmitter because Puppeteer no longer uses Node’s EventEmitter.
The EventEmitter static method is no longer supported.
Puppeteer no longer emits this event when a listener is added.
Puppeteer no longer emits this event when a listener is removed.
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 was improved on aarch64.
Puppeteer is better at killing lingering browser processes, especially when a test run exits with Ctrl-C.
puppeteer-core 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 2
Puppeteer now uses Chromium 81.0.4044.0, which may affect browser behavior.
The install.js script can now be run with puppeteer-core.
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.