Repository navigation
chore: bump playwright/playwright-core to 1.61.0 - #87
Conversation
Track upstream Playwright 1.61.0 (latest stable) for the vendored MCP browser tools that depend on playwright-core internals. This repo pins playwright/playwright-core exactly and bumps them manually because the vendored MCP tools rely on playwright-core behavior that can shift between releases (e.g. the 1.59 `_evaluateFunction` removal handled in browser_evaluate). 1.61.0 introduces no MCP API changes, and the vendored MCP code remains fully compatible: build, lint, typecheck, and the full unit suite (230 passed, 1 skipped) all pass under 1.61.0. The browser_evaluate `toString` workaround is still required (`_evaluateFunction` remains absent upstream). Refs: https://github.com/microsoft/playwright/releases/tag/v1.61.0 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HnRcXQVZ9BNaX1osSuT5Z9
|
Important Review skippedReview was skipped due to path filters ⛔ Files ignored due to path filters (1)
CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
📝 WalkthroughWalkthroughBumps ChangesPlaywright 1.61.0 version bump
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 66f9c6da80
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| "libc": [ | ||
| "glibc" | ||
| ], | ||
| "license": "MIT", |
There was a problem hiding this comment.
Restore libc filters for rolldown bindings
For Linux installs that include dev dependencies (npm ci in CI/Docker build), this lockfile entry and the other @rolldown/binding-linux-*-{gnu,musl} entries no longer carry the libc field that was present in the parent lock. npm's optional-package platform check only rejects a native optional package when the package metadata has libc, so glibc hosts now treat the musl bindings as compatible (and musl hosts the glibc bindings), causing npm ci to fetch/install incompatible native binaries. Regenerate the lockfile without dropping those fields.
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
Confirmed and fixed in 8ec5061. The earlier lockfile was regenerated with npm 10, which strips the libc field from the @rolldown/binding-linux-*-{gnu,musl} optional deps. I restored the pristine lockfile and regenerated with npm@11 install --package-lock-only, which preserves libc. The diff is now limited to the playwright version entries — all six libc arrays (4 × glibc, 2 × musl) are back, so npm's platform filter will again reject incompatible native binaries during npm ci.
Generated by Claude Code
The previous lockfile update was generated with npm 10, which strips the
`libc` metadata from the `@rolldown/binding-linux-*-{gnu,musl}` optional
deps. npm's optional-package platform filter relies on `libc` to reject
incompatible native binaries, so dropping it lets glibc hosts install the
musl bindings (and vice versa), breaking `npm ci` in CI/Docker.
Regenerate with npm 11 (--package-lock-only) so the `libc` fields are
preserved; only the playwright version entries change.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HnRcXQVZ9BNaX1osSuT5Z9
Upstream change
Playwright shipped v1.61.0 (latest stable). This repo currently pins
playwright/playwright-coreto1.60.0.What changed upstream
1.61.0 adds WebAuthn passkeys (
browserContext.credentials), the Web Storage API (page.localStorage/page.sessionStorage), and assorted network/test-runner features. It contains no Playwright MCP API changes — the recent upstream MCP commits (May–Jun 2026) are all test-runner MCP, not the browser MCP tools vendored here.Why it matters for this repo
This repo vendors Playwright's browser MCP tools and pins
playwright-coreexactly, bumping it manually because the vendored tools depend onplaywright-coreinternals that shift between releases — most recently the 1.59_evaluateFunctionremoval (microsoft/playwright#39646) that brokebrowser_evaluateand was fixed in #84. Keeping the runtime current and confirming the MCP tools still work against it is exactly what this bump verifies.Action
Bump
playwright,playwright-core, and@playwright/testto1.61.0.Verified locally under 1.61.0:
npm run build✅npm run lint(eslint + typecheck) ✅npm test— 230 passed, 1 skipped ✅The
browser_evaluatetoStringworkaround is still required:_evaluateFunctionremains absent fromplaywright-coreonmain, so no code change beyond the version bump is needed.Minimal and focused: only
package.json+package-lock.json(playwright-scoped) change.🤖 Generated with Claude Code
https://claude.ai/code/session_01HnRcXQVZ9BNaX1osSuT5Z9
Generated by Claude Code
Summary by CodeRabbit