Repository navigation
chore(deps): bump Playwright to 1.62.1 for AI-snapshot ARIA fixes - #155
Conversation
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
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (3)
📝 WalkthroughWalkthroughThe PR updates ChangesPlaywright version update
Estimated code review effort: 1 (Trivial) | ~2 minutes Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ 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 |
Upstream change
Playwright shipped v1.62.1 (patch over 1.62.0). Two of its cherry-picked fixes target the AI-mode ARIA snapshot:
fix(aria): keep icon-only clickable elements in ai snapshots(#42034) — icon-only clickable elements (buttons/links whose accessible name comes from an SVG/icon rather than text) were being dropped frommode: 'ai'snapshots.fix(aria): preserve names from collapsed text contributors(#41988) — accessible names assembled from nested/collapsed text contributors (e.g. text inside spans, aria-hidden wrappers) were lost.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:
That snapshot is what the MCP
browser_snapshot/findtools return and what downstream accessibility reasoning is built on. Both upstream fixes live inplaywright-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.playwrightandplaywright-corewere pinned to exactly1.62.0, so these fixes were missed until now.Change
playwrightandplaywright-core1.62.0→1.62.1in lockstep (package.json+package-lock.json).npx playwright@1.62.0codegen reference to1.62.1inREADME.mdandSKILL.mdso the documented codegen version matches the server's own Playwright.Lockfile diff is limited to the two version/integrity bumps — no dropped
libc/os/cpufields, no version split, no unrelated rewrites.Verification
npm run build— passesnpm run lint(oxlint + tsc) — passesnpm test— all 678 non-browser tests pass. The 23 failures are confined totests/tools-auditScreenReader.test.tsand are all identicalbrowserType.launch: Executable doesn't existerrors: 1.62.1 requires Chromium revision1234while this sandbox only ships the1194binary 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
Chores