Skip to content

fix: update Playwright to 1.63 with versioned compatibility - #5573

Merged
ahmedAmien merged 2 commits into
mainfrom
fix/playwright-1.63-version-support
Sep 9, 2026
Merged

ahmedAmien merged 2 commits into
mainfrom
fix/playwright-1.63-version-support

Conversation

@artiom

@artiom artiom commented Sep 8, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Upgrade Playwright from 1.62.1 to 1.63.0 and ESLint from 10.9.1 to 10.10.0, replacing chore(deps): bump the minor-and-patch group with 2 updates #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

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.

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Devin Review

@coderabbitai

coderabbitai Bot commented Sep 8, 2026 •

Copy link
Copy Markdown

Review Change StackReview Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Advanced

Run ID: 7f3a2ed1-f07c-4adb-82bc-fa2112b3ca62

📥 Commits

Reviewing files that changed from the base of the PR and between 9431277 and 2ab0fe3.

⛔ Files ignored due to path filters (1)
  • package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (4)
  • package.json
  • src/browsers/browsers.cdp.ts
  • src/browsers/browsers.playwright.spec.ts
  • src/config.ts

Included review availability: Your plan provides up to 10 included reviews per hour; 9 remain after this review.


Walkthrough

The update adds Playwright 1.63 support, preserves version-specific Chromium feature mappings for Playwright 1.62, adds Chrome’s --no-first-run launch argument, and updates related tests and tooling versions.

Changes

Playwright and Chromium compatibility

Layer / File(s) Summary
Version and feature mapping
package.json, src/config.ts
Playwright 1.58 is removed, Playwright 1.62 and 1.63 are mapped, and the default version moves to 1.63. Chromium disabled-feature mappings preserve the 1.62-specific feature.
Chrome launch argument
src/browsers/browsers.cdp.ts
Chromium CDP launches now include --no-first-run.
Compatibility validation
src/browsers/browsers.playwright.spec.ts
Tests validate the updated Playwright mappings, version-specific feature lists, and the merged --disable-features behavior.

Estimated code review effort: 3 (Moderate) | ~20 minutes

Merge Risk: ⚪ Minimal · up to 2ab0f

This updates Playwright support through 1.63, retains the version-specific Chromium feature behavior for 1.62, and prevents Chrome first-run UI from interrupting CDP launches. The version-routing and feature boundaries are covered, with no remaining merge-readiness risk identified.

Suggested reviewers: joelgriffith, adriansillo

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely describes the main changes: updating Playwright to 1.63 and maintaining version-specific compatibility.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 3…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/playwright-1.63-version-support

A rabbit reads each line,
The patch grows clear beneath the moon,
Small changes hop in place,
Tests guard the garden path,
Reviews bloom before the dawn.

Comment @coderabbitai help to get the list of available commands.

artiom commented Sep 8, 2026

Copy link
Copy Markdown
Contributor Author

Verification complete on the current head: all six browser-image test jobs pass, along with lint, formatting, leak checks, CodeQL and title validation. Overall check summary: 14 passing, 1 intentionally skipped Dependabot auto-merge job. CodeRabbit and Devin completed current-head reviews with no actionable findings; no review threads remain unresolved. No reviewer findings required fixes or rejection. The PR is conflict-free and awaiting human approval. The baseline-only local teardown timeout remains documented in the PR description; no hosted checks are failing or pending.

@ahmedAmien
ahmedAmien merged commit 5c80510 into main Sep 9, 2026
17 checks passed
@ahmedAmien
ahmedAmien deleted the fix/playwright-1.63-version-support branch September 9, 2026 09:44
artiom pushed a commit that referenced this pull request Sep 9, 2026
🤖 I have created a release *beep* *boop*
---


##
[2.56.6](v2.56.5...v2.56.6)
(2026-09-09)


### Bug Fixes

* allow numeric DNS names through IPv4 URL guards
([#5579](#5579))
([499dba1](499dba1))
* block IPv4 prefixes without a trailing dot
([#5577](#5577))
([e81e99c](e81e99c))
* update Playwright to 1.63 with versioned compatibility
([#5573](#5573))
([5c80510](5c80510))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: browserless-actions-bot[bot] <186328842+browserless-actions-bot[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants