Conversation
|
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.



This PR contains the following updates:
1.58.0→1.59.0v1.58.0-noble→v1.59.0-nobleRelease Notes
microsoft/playwright-dotnet (Microsoft.Playwright)
v1.59.0🎬 Screencast
New Page.Screencast API provides a unified interface for capturing page content with:
Screencast recording — record video with precise start/stop control, as an alternative to the
recordVideoDiroption:Action annotations — enable built-in visual annotations that highlight interacted elements and display action titles during recording:
ShowActionsAsyncacceptsPosition("top-left","top","top-right","bottom-left","bottom","bottom-right"),Duration(ms per annotation), andFontSize(px). Returns a disposable to stop showing actions.Visual overlays — add chapter titles and custom HTML overlays on top of the page for richer narration:
Real-time frame capture — stream JPEG-encoded frames for custom processing like thumbnails, live previews, AI vision, and more:
Agentic video receipts — coding agents can produce video evidence of their work. After completing a task, an agent can record a walkthrough video with rich annotations for human review:
The resulting video serves as a receipt: chapter titles provide context, action annotations highlight each interaction, and the visual walkthrough is faster to review than text logs.
🔍 Snapshots and Locators
Page.Locator("body").AriaSnapshotAsync().DepthandModein Locator.AriaSnapshotAsync().New APIs
Screencast
Storage, Console and Errors
Filterin Page.ConsoleMessagesAsync() and page.pageErrors() controls which messages are returned.Miscellaneous
Livein Tracing.StartAsync() for real-time trace updates.ArtifactsDirin BrowserType.LaunchAsync() to configure the artifacts directory.🔗 Interoperability
New Browser.BindAsync() API makes a launched browser available for
playwright-cli,@playwright/mcp, and other clients to connect to.Bind a browser — start a browser and bind it so others can connect:
Connect from playwright-cli — connect to the running browser from your favorite coding agent.
Connect from @playwright/mcp — or point your MCP server to the running browser.
Connect from a Playwright client — use API to connect to the browser. Multiple clients at a time are supported!
Pass
HostandPortoptions to bind over WebSocket instead of a named pipe:Call Browser.UnbindAsync() to stop accepting new connections.
Run
npx playwright-cli showto open the Dashboard that lists all the bound browsers, their statuses, and allows interacting with them:Breaking Changes⚠️
Browser Versions
This version was also tested against the following stable channels:
Configuration
📅 Schedule: (in timezone Europe/Helsinki)
* 21-22 * * 3)🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.