Skip to content

chore: bump playwright/playwright-core to 1.61.0 - #87

Merged
JustasMonkev merged 2 commits into
mainfrom
claude/gifted-ride-2m1iy5
Jun 21, 2026
Merged

JustasMonkev merged 2 commits into
mainfrom
claude/gifted-ride-2m1iy5

Conversation

@JustasMonkev

@JustasMonkev JustasMonkev commented Jun 20, 2026 •

Copy link
Copy Markdown
Owner

Upstream change

Playwright shipped v1.61.0 (latest stable). This repo currently pins playwright/playwright-core to 1.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-core exactly, bumping it manually because the vendored tools depend on playwright-core internals that shift between releases — most recently the 1.59 _evaluateFunction removal (microsoft/playwright#39646) that broke browser_evaluate and 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/test to 1.61.0.

Verified locally under 1.61.0:

  • npm run build ✅
  • npm run lint (eslint + typecheck) ✅
  • npm test — 230 passed, 1 skipped ✅

The browser_evaluate toString workaround is still required: _evaluateFunction remains absent from playwright-core on main, 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

  • Chores
    • Updated testing framework dependencies to the latest versions to improve stability and compatibility.

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
@coderabbitai

coderabbitai Bot commented Jun 20, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

Important

Review skipped

Review was skipped due to path filters

⛔ Files ignored due to path filters (1)
  • package-lock.json is excluded by !**/package-lock.json

CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including **/dist/** will override the default block on the dist directory, by removing the pattern from both the lists.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 6f46f8fc-bb89-4bf2-b552-73db74c10e4c

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
📝 Walkthrough

Walkthrough

Bumps playwright, playwright-core, and @playwright/test from version 1.60.0 to 1.61.0 in package.json. No other files, metadata, or dependency entries are changed.

Changes

Playwright 1.61.0 version bump

Layer / File(s) Summary
Playwright dependency upgrade
package.json
playwright and playwright-core in dependencies, and @playwright/test in devDependencies, are each incremented from 1.60.0 to 1.61.0.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Possibly related PRs

Poem

🐇 Hop, hop, a new Playwright is here,
Version one-sixty-one brings good cheer!
Three packages updated, neat and tight,
The scanner keeps running, just right.
This bunny approves — what a sight! 🎭

🚥 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 accurately summarizes the main change: bumping Playwright and Playwright-core dependencies to version 1.61.0, which is the primary purpose of this pull request.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
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.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch claude/gifted-ride-2m1iy5

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.

❤️ Share

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

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 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".

Comment thread package-lock.json
"libc": [
"glibc"
],
"license": "MIT",

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge 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 👍 / 👎.

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

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
@JustasMonkev
JustasMonkev merged commit cfa3c87 into main Jun 21, 2026
2 checks passed
@JustasMonkev
JustasMonkev deleted the claude/gifted-ride-2m1iy5 branch June 21, 2026 04:10
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.

2 participants