playwright-roll
Installation
SKILL.md
Help the user roll to a new version of Playwright. ROLLING.md contains general instructions and scripts.
Start with running ./scripts/roll_driver.sh to update the version and generate the API to see the state of things. Afterwards, walk through the upstream changes that affect the Java client and port the relevant ones.
Determining what to port
List the upstream commits that touched a client-relevant path since the last release. The paths cover everything that can change the public Java surface or the wire protocol:
docs/src/api/— the source of truth forapi.json. Method/option additions, removals, andlangs:filter changes flow from here.packages/playwright-core/src/client/— the JS client implementation that the Java client mirrors.packages/isomorphic/— selector engines, locator generation/parsing, and aria-snapshot logic shared between client and server. Changes here can affect client-side helpers likegetByRoleSelector.packages/playwright/src/matchers/matchers.ts— assertion-method definitions. Changes here usually correspond to new options onLocatorAssertions/PageAssertions.packages/protocol/src/protocol.yml— the wire protocol schema. Method/event additions, parameter renames, and result-shape changes affect what the Java*Implclasses need to send/receive.