Skip to content

chore(deps): bump playwright-core from 1.60.0 to 1.61.0 - #5446

Merged
artiom merged 2 commits into
mainfrom
dependabot/npm_and_yarn/playwright-core-1.61.0
Jun 16, 2026
Merged

artiom merged 2 commits into
mainfrom
dependabot/npm_and_yarn/playwright-core-1.61.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 16, 2026

Copy link
Copy Markdown
Contributor

Bumps playwright-core from 1.60.0 to 1.61.0.

Release notes

Sourced from playwright-core's releases.

v1.61.0

🔑 WebAuthn passkeys

New Credentials virtual authenticator, available via browserContext.credentials, lets tests register passkeys and answer navigator.credentials.create() / navigator.credentials.get() ceremonies in the page — no real hardware key required, works in all browsers:

const context = await browser.newContext();
// Seed a passkey your backend provisioned for a test user.
await context.credentials.create('example.com', {
id: credentialId,
userHandle,
privateKey,
publicKey,
});
await context.credentials.install();
const page = await context.newPage();
await page.goto('https://example.com/login');
// The page's navigator.credentials.get() is answered with the seeded passkey.

You can also let the app register a passkey once in a setup test, read it back with credentials.get(), and seed it into later tests — see Credentials for details.

🗃️ Web Storage

New WebStorage API, available via page.localStorage and page.sessionStorage, reads and writes the page's storage for the current origin:

await page.localStorage.setItem('token', 'abc');
const token = await page.localStorage.getItem('token');
const items = await page.sessionStorage.items();

New APIs

Network

Browser and Screencast

  • New option artifactsDir in browserType.connectOverCDP() controls where artifacts such as traces and downloads are stored when attached to an existing browser.
  • New option cursor in screencast.showActions() controls the cursor decoration rendered for pointer actions.
  • The onFrame callback in screencast.start() now receives a timestamp of when the frame was presented by the browser.

Test runner

  • The testOptions.video option now supports the same set of modes as trace: new 'on-all-retries', 'retain-on-first-failure' and 'retain-on-failure-and-retries' values. See the video modes table for which runs are recorded and kept in each mode.
  • Supported expect.soft.poll(...).
  • New fullConfig.argv — a snapshot of process.argv from the runner process, handy for reading custom arguments passed after the -- separator.
  • New fullConfig.failOnFlakyTests mirrors the config option, so reporters can explain why a flaky run failed.
  • testInfo.errors now lists each sub-error of an AggregateError as a separate entry.

... (truncated)

Commits
  • 1cc5a90 cherry-pick(#41295): chore: PLAYWRIGHT_TRACING_NO_WEBSOCKET_FRAMES and PLAYWR...
  • a6772bd cherry-pick(#41280): Revert "fix(trace-viewer): add keyboard navigation to `N...
  • 8133dcf cherry-pick(#41283): docs: add Ubuntu 26.04 and Node.js 26.x to system requir...
  • 812432e chore: mark v1.61.0 (#41277)
  • ac05145 fix(fetch): report serverAddr and securityDetails for reused sockets (#41267)
  • 056efc9 fix(trace-viewer): add keyboard navigation to NetworkFilters component (#41...
  • 41f7b9a chore: fixes uncovered by the .NET 1.61 roll (#41266)
  • ba50778 fix(mcp): assign caps as array for legacy --vision flag (#41253)
  • b8ee5ae docs: release notes for v1.61 (#41261)
  • 49c1f69 fix(trace viewer): load trace from a local file (#41263)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [playwright-core](https://github.com/microsoft/playwright) from 1.60.0 to 1.61.0.
- [Release notes](https://github.com/microsoft/playwright/releases)
- [Commits](microsoft/playwright@v1.60.0...v1.61.0)

---
updated-dependencies:
- dependency-name: playwright-core
  dependency-version: 1.61.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Jun 16, 2026
github-actions[bot]
github-actions Bot previously approved these changes Jun 16, 2026
Pin the outgoing 1.60 default as `playwright-1.60` and drop 1.56 to keep the five-version support window. Remap `playwrightVersions` so `1.60` resolves to the pinned 1.60.0 build and add `1.61` pointing at playwright-core. Without this, the dependabot bump silently routes `1.60` requests to 1.61 binaries and leaves 1.61 unenumerated in loadInstalledBinaries / /meta.

Same pattern as 88fa50f after the 1.59 -> 1.60 rotation.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
@artiom
artiom merged commit 0dd51e8 into main Jun 16, 2026
12 checks passed
@artiom
artiom deleted the dependabot/npm_and_yarn/playwright-core-1.61.0 branch June 16, 2026 10:59
ahmedAmien pushed a commit that referenced this pull request Sep 9, 2026
## Summary

- Upgrade Playwright from 1.62.1 to 1.63.0 and ESLint from 10.9.1 to
10.10.0, replacing #5572.
- Keep five supported Playwright minor versions (1.59–1.63): add the
`playwright-1.62` alias, retire 1.58, and update the version map used
for routing and `/meta`.
- Match Chromium's disabled-feature defaults for every supported
version, preserving 1.62's boundary-event feature while removing it from
the 1.63 default.
- Preserve `--no-first-run` in CDP launches so Chrome 152 starts remote
debugging even with `ignoreDefaultArgs: true`.

Follows the version-window maintenance in #5370, #5446, and #5520. The
existing historical-browser installer remains unchanged because 1.59
still needs its compatibility workaround.

## Verification

- Full build and test-artifact build.
- ESLint and Prettier checks.
- 68 focused Playwright tests, including live launch-argument comparison
for all five supported versions.
- Existing Chromium ignored-defaults regression: fails with the upgraded
browser before the launcher fix, passes afterward; unchanged main also
passes.
- Installed current and historical Chromium, Firefox, and WebKit
binaries using the repository's installer.
- Complete local suite: 711 passing, 3 pending, one kill-session
teardown timeout. The same Edge teardown timeout reproduces on unchanged
main when running the Chrome/Chromium/Edge kill-session files together;
individual Chromium kill-session tests pass. No unrelated teardown
change is included.

The pull request's browser-image CI matrix provides the final per-image
verification.

<!-- devin-review-badge-begin -->

---

<a href="https://app.devin.ai/review/browserless/browserless/pull/5573"
target="_blank">
  <picture>
<source media="(prefers-color-scheme: dark)"
srcset="https://static.devin.ai/assets/gh-devin-review-dark.svg?v=3">
<img src="https://static.devin.ai/assets/gh-devin-review-light.svg?v=3"
alt="Devin Review">
  </picture>
</a>
<!-- devin-review-badge-end -->

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **Bug Fixes**
- Chrome launches now avoid first-run prompts, providing a smoother and
more reliable startup experience.

- **Compatibility**
  - Updated browser automation support for newer Playwright versions.
- Refined Chromium feature handling to maintain consistent behavior
across supported Playwright versions.

- **Tests**
- Expanded coverage for browser launching, version compatibility, and
Chromium feature configuration.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Amp <[email protected]>
Gikoskos pushed a commit that referenced this pull request Oct 13, 2026
)

## Summary

Replaces #5617 with the compatibility changes required alongside
`playwright-core` 1.64.0 and `puppeteer-core` 25.13.0.

- Preserve the five-minor-version Playwright FIFO: retire 1.59, retain
1.60–1.62, move 1.63.0 to `playwright-1.63`, and map 1.64/default to
core. This follows #5370, #5446, #5520, and #5573.
- Mirror Playwright 1.64's added `NetworkTimeServiceQuerying` and
`AimEnabled` disabled features without changing historical launch
defaults. Keep 1.62's boundary-event feature and 1.60/1.61's
`RenderDocument` behavior.
- Derive the five-version FIFO from the installed core version and check
that manifest mappings point to matching installed packages. Compare
actual launch arguments for every mapped version, including the default;
tests contain no release-number literals to maintain on future upgrades.

## Root cause

All six browser-image jobs on #5617 fail the same drift test. Its
unchanged `1.63 -> playwright-core` mapping loads 1.64 under the old
label, while `Config.getChromiumDisabledFeatures` still returns 1.63's
defaults. Playwright 1.64 adds two disabled features; Browserless's
trailing `--disable-features` flag would otherwise re-enable them
because Chromium keeps the last occurrence rather than merging flags.

Updating only the default feature array would also leak 1.64-only
features into the existing 1.62 override, which spread that array. This
change preserves a separate 1.63 list and bases 1.62 on it.

## Upgrade impact

Playwright's bundled Chromium advances from 153 to 156, Firefox from 155
to 157, WebKit from 26.6 to 27.2, and FFmpeg revision from 1011 to 1013.
Its upstream visibility/device-screen behavior changes apply to callers;
no corresponding Browserless API migration is needed. Puppeteer 25.13
leaves Chromium launch defaults unchanged and includes
connection/cleanup fixes. Browserless selects browser executables
through Playwright or the system Chrome/Edge installation, not
Puppeteer's revision table.

Version routing, `/meta`, and versioned WebSocket tests consume the
dependency map. The Docker historical-browser installer discovers
installed `playwright-1.*` alias directories; the FIFO test now checks
that dependency aliases exactly match the map. Neither path requires a
separate hard-coded version bump. The existing historical-browser
installer remains functional; removing its now-unnecessary pre-1.60
extraction workaround is deferred rather than bundled into this upgrade.
The WebKit pre-1.61 installation exclusion remains necessary.

## Verification

- Reproduced the original drift failure with Dependabot's exact
dependency diff.
- TDD: new default-feature and FIFO-mapping assertions fail before the
fix.
- Full build and test-artifact build pass on Node 24.21.0.
- Focused Playwright suite: 73 passing, including exact feature-mirror
comparisons and the real Browserless launch path for every mapped
version and default.
- Generic-test validation: future windows 1.61–1.65 and 1.98–1.102 pass
without test edits; four/six versions, gaps, misrouted aliases, and
missing/leaked disabled features are rejected.
- Added regression coverage for stale mirrors after eviction, orphan
dependency aliases, and lost version forwarding during launch. Each
mutation passed the previous tests and now fails the intended assertion;
the unchanged implementation passes. The synthetic future-window checks
test the assertions, not future runtime compatibility.
- ESLint, Prettier, and diff whitespace checks pass.
- Installed current Chrome/Edge and current/historical Chromium,
Firefox, and supported WebKit binaries using the repository installer.
- Full local `npm test` under Xvfb on Node 24.21.0: **785 passing, 3
pending**, no failures. The pending cases are existing Chrome/Edge
ignored-arguments and Edge user-data-directory skips.
- The replacement PR's browser-image CI matrix will verify Ubuntu 26.04
images; local verification ran on Debian 12.


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **Updates**
* Updated the default Playwright and Puppeteer versions and added
support for Playwright 1.64.
* Refreshed Chromium disabled-feature settings for supported Playwright
versions.
  * Removed support for Playwright 1.59.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
<!-- devin-review-badge-begin -->

---

<a href="https://app.devin.ai/review/browserless/browserless/pull/5620"
target="_blank"><picture><source media="(prefers-color-scheme: dark)"
srcset="https://static.devin.ai/assets/gh-devin-review-dark.svg?v=4"><img
src="https://static.devin.ai/assets/gh-devin-review-light.svg?v=4"
alt="Devin Review"></picture></a>
<!-- devin-review-badge-end -->

---------

Co-authored-by: Amp <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant