chore: roll to Playwright v1.57.0 #577
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I don't want to make this PR without noting that I used Claude Opus 4.5 and Sonnet 4.5 to assist throughout this upgrade. I'm a developer with over a decade of experience and I use these tools extensively in my day-to-day work; no edits were made without my review. It helped me knock this out in a weekend instead of weeks. Plus, I figured an AI-coded
playwright-gocompatible with v1.57.0 is better than nothing at all.I have validated that all test cases pass locally and confirmed that it works both launching locally and connecting via WebSocket in my own project. Even if there are some bugs (which I'm sure there are plenty), I think this is good enough to get this project to 100% for v1.57.0. A summary of these changes (generated by Claude) is below
Key Changes
Protocol Compliance
Architecture Updates
New API Features
Page.ConsoleMessages()andPage.Requests()methods for retrieving accumulated page eventsConsoleMessage.Worker()support for console messages originating from web workersLocator.Describe()andLocator.Description()for custom locator descriptions in error messagesStepsparameter to click/hover/drag methods for interpolated mousemove eventsBug Fixes
selectors.gowhen registering selectors concurrently with context creationTesting