Skip to content

Integrated Browser: Upgrade Playwright to 1.59.1#307459

Merged
jruales merged 6 commits intomainfrom
jruales/upgrade-playwright-1.59
Apr 2, 2026
Merged

Integrated Browser: Upgrade Playwright to 1.59.1#307459
jruales merged 6 commits intomainfrom
jruales/upgrade-playwright-1.59

Conversation

@jruales
Copy link
Copy Markdown
Contributor

@jruales jruales commented Apr 2, 2026

No description provided.

Copilot AI review requested due to automatic review settings April 2, 2026 16:58
@vs-code-engineering
Copy link
Copy Markdown
Contributor

vs-code-engineering bot commented Apr 2, 2026

📬 CODENOTIFY

The following users are being notified based on files changed in this PR:

@kycutler

Matched files:

  • src/vs/platform/browserView/node/playwrightTab.ts

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Upgrades the integrated browser’s Playwright dependency to v1.59.1 and updates the page summarization implementation to use the newer public Playwright API for AI-oriented accessibility snapshots.

Changes:

  • Bump playwright-core to 1.59.1 and @playwright/test to ^1.59.1.
  • Replace usage of the hidden _snapshotForAI(...) API (and its local type augmentation) with page.ariaSnapshot({ mode: 'ai' }).
  • Simplify summary snapshot handling to treat the returned snapshot as a single trimmed string.

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 1 comment.

File Description
src/vs/platform/browserView/node/playwrightTab.ts Switches snapshot generation from _snapshotForAI (full/incremental) to ariaSnapshot and removes the module augmentation.
package.json Updates Playwright-related dependency versions.
package-lock.json Updates locked Playwright packages to match the new versions.

@jruales jruales marked this pull request as draft April 2, 2026 17:06
@jruales jruales marked this pull request as ready for review April 2, 2026 17:22
@jruales jruales requested a review from kycutler April 2, 2026 17:22
kycutler
kycutler previously approved these changes Apr 2, 2026
@jruales jruales changed the title Integrated Browser: Upgrade Playwright to 1.59 Integrated Browser: Upgrade Playwright to 1.59.1 Apr 2, 2026
@jruales jruales merged commit acdb71d into main Apr 2, 2026
29 of 30 checks passed
@jruales jruales deleted the jruales/upgrade-playwright-1.59 branch April 2, 2026 18:33
@vs-code-engineering vs-code-engineering bot added this to the 1.115.0 milestone Apr 2, 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.

4 participants