Skip to content

Commit f3c62c1

Browse files
Bump Microsoft.Playwright from 1.58.0 to 1.59.0 (#219)
Updated [Microsoft.Playwright](https://github.com/microsoft/playwright-dotnet) from 1.58.0 to 1.59.0. <details> <summary>Release notes</summary> _Sourced from [Microsoft.Playwright's releases](https://github.com/microsoft/playwright-dotnet/releases)._ ## 1.59.0 ## 🎬 Screencast New [Page.Screencast](https://playwright.dev/dotnet/docs/api/class-page#page-screencast) API provides a unified interface for capturing page content with: - Screencast recordings - Action annotations - Visual overlays - Real-time frame capture - Agentic video receipts <center> <img src="https://raw.githubusercontent.com/microsoft/playwright/main/docs/src/images/release-notes-1.59-screencast-demo.gif" alt="Demo" width="500" height="313" /> </center> **Screencast recording** — record video with precise start/stop control, as an alternative to the [`recordVideoDir`](https://playwright.dev/dotnet/docs/api/class-browser#browser-new-context-option-record-video-dir) option: ```csharp await page.Screencast.StartAsync(new() { Path = "video.webm" }); // ... perform actions ... await page.Screencast.StopAsync(); ``` **Action annotations** — enable built-in visual annotations that highlight interacted elements and display action titles during recording: ```csharp await page.Screencast.ShowActionsAsync(new() { Position = "top-right" }); ``` `ShowActionsAsync` accepts `Position` (`"top-left"`, `"top"`, `"top-right"`, `"bottom-left"`, `"bottom"`, `"bottom-right"`), `Duration` (ms per annotation), and `FontSize` (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: ```csharp await page.Screencast.ShowChapterAsync("Adding TODOs", new() { Description = "Type and press enter for each TODO", Duration = 1000, }); await page.Screencast.ShowOverlayAsync("<div style=\"color: red\">Recording</div>"); ``` **Real-time frame capture** — stream JPEG-encoded frames for custom processing like thumbnails, live previews, AI vision, and more: ```csharp await page.Screencast.StartAsync(new() { OnFrame = frame => SendToVisionModel(frame.Data), }); ``` ... (truncated) Commits viewable in [compare view](microsoft/playwright-dotnet@v1.58.0...v1.59.0). </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 8d5469b commit f3c62c1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Directory.Packages.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<PackageVersion Include="Microsoft.AspNetCore.Components.WebAssembly" Version="10.0.5" />
1313
<PackageVersion Include="Microsoft.AspNetCore.Mvc.Testing" Version="10.0.5" />
1414
<PackageVersion Include="Microsoft.DotNet.Interactive.CSharpProject" Version="1.0.0-beta.26208.1" />
15-
<PackageVersion Include="Microsoft.Playwright" Version="1.58.0" />
15+
<PackageVersion Include="Microsoft.Playwright" Version="1.59.0" />
1616
<PackageVersion Include="Newtonsoft.Json" Version="13.0.4" />
1717
<PackageVersion Include="peaky.client" Version="4.0.79" />
1818
<PackageVersion Include="peaky.xunit" Version="4.0.79" />

0 commit comments

Comments
 (0)