Skip to content

chore(deps): bump playwright-core from 1.59.1 to 1.60.0 - #5370

Merged
artiom merged 2 commits into
mainfrom
dependabot/npm_and_yarn/playwright-core-1.60.0
May 13, 2026
Merged

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

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github May 12, 2026 •

Copy link
Copy Markdown
Contributor

Bumps playwright-core from 1.59.1 to 1.60.0.

Release notes

Sourced from playwright-core's releases.

v1.60.0

🌐 HAR recording on Tracing

tracing.startHar() / tracing.stopHar() expose HAR recording as a first-class tracing API, with the same content, mode and urlFilter options as recordHar. The returned Disposable makes it easy to scope a recording with await using:

await using har = await context.tracing.startHar('trace.har');
const page = await context.newPage();
await page.goto('https://playwright.dev');
// HAR is finalized when `har` goes out of scope.

🪝 Drop API

New locator.drop() simulates an external drag-and-drop of files or clipboard-like data onto an element. Playwright dispatches dragenter, dragover, and drop with a synthetic [DataTransfer] in the page context — works cross-browser and is great for testing upload zones:

await page.locator('#dropzone').drop({
  files: { name: 'note.txt', mimeType: 'text/plain', buffer: Buffer.from('hello') },
});
await page.locator('#dropzone').drop({
data: {
'text/plain': 'hello world',
'text/uri-list': 'https://example.com',
},
});

🎯 Aria snapshots

🛑 test.abort()

New test.abort() aborts the currently running test from a fixture, hook, or route handler with an optional message. Use it when you have detected an unrecoverable misuse and want to fail the test right away:

test('does not publish to the shared page', async ({ page }) => {
  await page.route('**/publish', route => {
    test.abort('Tests must not publish to the shared page. Use the `clone` option.');
    return route.abort();
  });
  // ...
});

New APIs

Browser, Context and Page

... (truncated)

Commits

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels May 12, 2026
github-actions[bot]
github-actions Bot previously approved these changes May 12, 2026
@artiom

artiom commented May 12, 2026

Copy link
Copy Markdown
Contributor

@dependabot rebase

@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/playwright-core-1.60.0 branch from 405b80c to 44102d8 Compare May 12, 2026 11:40
Bumps [playwright-core](https://github.com/microsoft/playwright) from 1.59.1 to 1.60.0.
- [Release notes](https://github.com/microsoft/playwright/releases)
- [Commits](microsoft/playwright@v1.59.1...v1.60.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/playwright-core-1.60.0 branch from 44102d8 to fe6b788 Compare May 12, 2026 15:33
github-actions[bot]
github-actions Bot previously approved these changes May 12, 2026
@artiom

artiom commented May 12, 2026

Copy link
Copy Markdown
Contributor

@dependabot rebase

@dependabot @github

dependabot Bot commented on behalf of github May 12, 2026

Copy link
Copy Markdown
Contributor Author

Looks like this PR is already up-to-date with main! If you'd still like to recreate it from scratch, overwriting any edits, you can request @dependabot recreate.

Pin the outgoing 1.59 default as `playwright-1.59` and drop 1.55 to
keep the five-version support window. Remap `playwrightVersions` so
`1.59` resolves to the pinned 1.59.1 build and add `1.60` pointing at
playwright-core. Without this, the dependabot bump silently routes
`1.59` requests to 1.60 binaries and leaves 1.60 unenumerated in
loadInstalledBinaries / /meta.

Same pattern as 60c99d4 + b806de6 after the 1.58 -> 1.59 rotation.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
@artiom
artiom merged commit e19d853 into main May 13, 2026
16 of 18 checks passed
@artiom
artiom deleted the dependabot/npm_and_yarn/playwright-core-1.60.0 branch May 13, 2026 10:42
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