Skip to content

chore(deps): bump Playwright to 1.62.1 for AI-snapshot ARIA fixes - #155

Merged
JustasMonkev merged 1 commit into
mainfrom
claude/charming-galileo-syijsf
Aug 1, 2026
Merged

JustasMonkev merged 1 commit into
mainfrom
claude/charming-galileo-syijsf

Conversation

@JustasMonkev

@JustasMonkev JustasMonkev commented Aug 1, 2026 •

Copy link
Copy Markdown
Owner

Upstream change

Playwright shipped v1.62.1 (patch over 1.62.0). Two of its cherry-picked fixes target the AI-mode ARIA snapshot:

The release also carries several fix(mcp): … commits, but those touch upstream's own MCP server infrastructure (config parsing, download identification, extension-profile launch) — this repo vendors its own MCP tool layer, so they are not pulled in by this bump and are left for the next full tool sync.

Why it matters here

This is an accessibility scanner. It reads the AI-mode ARIA snapshot directly:

src/tab.ts:259   this.page.ariaSnapshot({ mode: 'ai' })
src/tab.ts:351   await this.page.ariaSnapshot({ mode: 'ai' })

That snapshot is what the MCP browser_snapshot / find tools return and what downstream accessibility reasoning is built on. Both upstream fixes live in playwright-core, so they change our snapshot output the moment the dependency is bumped — dropped icon-only controls and mis-named elements were exactly the kind of false gaps this tool must not have.

playwright and playwright-core were pinned to exactly 1.62.0, so these fixes were missed until now.

Change

  • Bump playwright and playwright-core 1.62.0 → 1.62.1 in lockstep (package.json + package-lock.json).
  • Update the npx playwright@1.62.0 codegen reference to 1.62.1 in README.md and SKILL.md so the documented codegen version matches the server's own Playwright.

Lockfile diff is limited to the two version/integrity bumps — no dropped libc/os/cpu fields, no version split, no unrelated rewrites.

Verification

  • npm run build — passes
  • npm run lint (oxlint + tsc) — passes
  • npm test — all 678 non-browser tests pass. The 23 failures are confined to tests/tools-auditScreenReader.test.ts and are all identical browserType.launch: Executable doesn't exist errors: 1.62.1 requires Chromium revision 1234 while this sandbox only ships the 1194 binary and egress to the Playwright browser CDN is blocked. CI installs the matching browser (npx playwright install --with-deps chromium) before running tests, so they run there.

🤖 Generated with Claude Code

https://claude.ai/code/session_015fm5ComssbwxWw1mLefrJ4


Generated by Claude Code

Summary by CodeRabbit

  • Documentation

    • Updated Playwright code generation examples to use version 1.62.1.
  • Chores

    • Updated Playwright packages to version 1.62.1 for improved consistency and compatibility.

Upstream Playwright 1.62.1 cherry-picks two fixes to the ai-mode aria
snapshot that this scanner consumes via page.ariaSnapshot({ mode: 'ai' })
in src/tab.ts and surfaces through the MCP snapshot tools:

- fix(aria): keep icon-only clickable elements in ai snapshots (#42034)
- fix(aria): preserve names from collapsed text contributors (#41988)

The package was pinned to exactly 1.62.0, so these fixes were missed.
Bump playwright and playwright-core in lockstep to 1.62.1 and update the
codegen version reference in the docs to match the server's Playwright.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015fm5ComssbwxWw1mLefrJ4
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@coderabbitai

coderabbitai Bot commented Aug 1, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: b1fe3b97-8759-4dad-97f0-7b8534a48d23

📥 Commits

Reviewing files that changed from the base of the PR and between 81d3fd0 and ba48eee.

⛔ Files ignored due to path filters (1)
  • package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (3)
  • README.md
  • SKILL.md
  • package.json

📝 Walkthrough

Walkthrough

The PR updates playwright and playwright-core to 1.62.1. It also updates the Playwright versions in the README and skill documentation examples.

Changes

Playwright version update

Layer / File(s) Summary
Align dependency and recording versions
package.json, README.md, SKILL.md
The Playwright dependencies and authenticated-session recording commands now use version 1.62.1.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Possibly related PRs

Suggested reviewers: claude

🚥 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 Playwright dependency update and its AI-snapshot ARIA fixes.
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.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch claude/charming-galileo-syijsf

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.

@JustasMonkev
JustasMonkev merged commit d870130 into main Aug 1, 2026
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