Skip to content

chore: roll to 1.60.0-alpha-2026-05-05#1916

Open
yury-s wants to merge 2 commits intomicrosoft:mainfrom
yury-s:roll-1.60.0-alpha-2026-05-05
Open

chore: roll to 1.60.0-alpha-2026-05-05#1916
yury-s wants to merge 2 commits intomicrosoft:mainfrom
yury-s:roll-1.60.0-alpha-2026-05-05

Conversation

@yury-s
Copy link
Copy Markdown
Member

@yury-s yury-s commented May 5, 2026

Summary

Driver: 1.59.1-beta-17757620780001.60.0-alpha-2026-05-05

Upstream PRs ported

Other changes

  • Protocol: FrameExpectResult.received is now { value, ariaSnapshot } instead of a bare SerializedValue. Updated AssertionsBase to unwrap.
  • Generator: added new types to import lists; share topLevelTypes across assertions/non-assertions runs so PseudoElement lands in options/; hard-coded java.util.Map import for Payload.
  • Test fix: TestSelectorsRole.errors updated for the new description attribute in the role selector error message.
  • Removed exposeBindingHandle* tests in TestBrowserContextExposeFunction / TestPageExposeFunction (option removed upstream).

Verified already supported / no-op for Java

Skipped

New tests

  • TestBrowserContextEvents: pageLoadEventShouldWork, frameNavigatedEventShouldWork, pageCloseEventShouldWork, frameAttachedEventShouldWork, frameDetachedEventShouldWork, weberrorEventShouldIncludeLocation
  • TestBrowser1: shouldFireContextEvent
  • TestRouteWebSocket: shouldExposeProtocolsToTheRouteHandler
  • TestLocatorHighlight: highlightAndHideHighlightShouldNotThrow
  • TestPageDrop (new file): 4 tests covering single/multiple file payload, clipboard data, and local file path
  • TestPageAriaSnapshot: pageMatchesAriaSnapshot
  • TestTracing: shouldRecordHarWithStartHarStopHar

Skill update

The playwright-roll skill now determines the change list from upstream commits matching the trigger paths in .github/workflows/pr_check_client_side_changes.yml, instead of from the auto-generated "Backport client side changes" issue (which is being phased out upstream).

Test plan

  • mvn -f playwright/pom.xml test — 1658 tests, 0 failures, 27 skipped

@yury-s yury-s force-pushed the roll-1.60.0-alpha-2026-05-05 branch 2 times, most recently from 4e0c8c9 to a14b9be Compare May 6, 2026 00:55
yury-s added 2 commits May 5, 2026 18:53
Ports the following upstream client-side PRs:

- microsoft/playwright#39767 - feat: Add `location()` to `WebError`
- microsoft/playwright#39950 - feat: page version of toMatchAriaSnapshot
- microsoft/playwright#40083 - feat(locator): add `description` option to getByRole
- microsoft/playwright#40092 - feat(expect): support pseudo-element in toHaveCSS
- microsoft/playwright#40159 - feat(tracing): add tracing.startHar / tracing.stopHar
- microsoft/playwright#40196 - chore: remove deprecated `handle` option from exposeBinding
- microsoft/playwright#40215 - feat(api): Locator.highlight({ style })
- microsoft/playwright#40219 - feat(api): Page.hideHighlight, Locator.hideHighlight, highlight() returns AutoCloseable
- microsoft/playwright#40283 - feat(locator): add drop API for files and clipboard-like data
- microsoft/playwright#40315 - feat(browser): Browser.onContext / offContext
- microsoft/playwright#40341 - feat(browsercontext): mirror Page lifecycle events on BrowserContext
- microsoft/playwright#40377 - feat(route): expose WebSocket subprotocols on WebSocketRoute
- microsoft/playwright#40606 - feat(api): unify WebError and ConsoleMessage location
- microsoft/playwright#40651 - docs: alias drop-payload Object types

Protocol shape change for FrameExpectResult.received (now `{ value, ariaSnapshot }` instead
of a bare SerializedValue) — updated AssertionsBase to unwrap it.

Generator updates: added new types to relevant import lists; share topLevelTypes between
the assertion and non-assertion generate runs so PseudoElement gets emitted into options/.
Replace the stale reference to the upstream "client side changes" workflow
with an inline explanation of what each watched path can affect on the
Java side, so the rolling instructions stand on their own.
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