chore: roll to 1.59.1#3050
Open
pavelfeldman wants to merge 1 commit intomainfrom
Open
Conversation
d5d17b5 to
d63e8c3
Compare
yury-s
approved these changes
Apr 28, 2026
Bumps the driver to 1.59.1 and ports the public-API changes that landed upstream during the 1.58 → 1.59 cycle. New public APIs: - Request.existing_response (property) - Response.http_version() - ConsoleMessage.timestamp (property) - BrowserContext.is_closed() - BrowserContext.set_storage_state(state | path) - BrowserContext.debugger (property) + new Debugger class (request_pause, resume, next, run_to, paused_details + pausedstatechanged event) - Page.aria_snapshot(timeout=, depth=, mode=) - Page.console_messages(filter=) / Page.page_errors(filter=) - Page.clear_console_messages() / Page.clear_page_errors() - Page.pick_locator() / Page.cancel_pick_locator() - Page.screencast (property) + new Screencast class (start/stop with onFrame callback, show_actions/hide_actions, show_overlay, show_chapter, show_overlays/hide_overlays) - Locator.normalize() - Locator.aria_snapshot(depth=, mode=) - Browser.bind(title, ...) / Browser.unbind() - BrowserType.launch(artifacts_dir=) / launch_persistent_context(artifacts_dir=) - Tracing.start(live=) - CDPSession emits 'close' and forwards 'event' for raw CDP events - Dialog.dismiss() swallows TargetClosedError Renames matching upstream: - BrowserType.connect(ws_endpoint=) -> connect(endpoint=) (positional; the wire field also renamed to "endpoint") Generator/codegen: - documentation_provider: emit Promise-without-templates as Any, void as None - documentation_provider: emit @typing.overload + generic fallback for single-event classes (CDPSession needed this once it gained 'close') - New TypedDicts in _api_structures.py: DebuggerLocation, DebuggerPausedDetails, ScreencastFrame, BrowserBindResult - Register Debugger in _object_factory; register Debugger and Screencast in scripts/generate_api.py Tests added (async + sync mirrors where applicable) for every PORT. expected_api_mismatch.txt is now down to legitimate divergences only. Tooling: - New CLAUDE.md with project orientation - Expanded .claude/skills/playwright-roll/SKILL.md with the operational playbook learned over this roll (langs-verification, audit loop, common doclint quirks, channel-owner wiring checklist). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
d63e8c3 to
dae3280
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Bumps the driver to 1.59.1 and ports the public-API changes that landed upstream during the 1.58 → 1.59 cycle.
New public APIs:
Renames matching upstream:
Generator/codegen:
Tests added (async + sync mirrors where applicable) for every PORT. expected_api_mismatch.txt is now down to legitimate divergences only.
Tooling: