chore(deps): Bump Microsoft.Playwright from 1.58.0 to 1.61.0#252
Open
dependabot[bot] wants to merge 1 commit into
Open
Conversation
Contributor
Author
LabelsThe following labels could not be found: Please fix the above issues or remove invalid values from |
--- updated-dependencies: - dependency-name: Microsoft.Playwright dependency-version: 1.61.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
e5d61e2 to
1f8a35e
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.
Updated Microsoft.Playwright from 1.58.0 to 1.61.0.
Release notes
Sourced from Microsoft.Playwright's releases.
1.61.0
🔑 WebAuthn passkeys
New Credentials virtual authenticator, available via BrowserContext.Credentials, lets tests register passkeys and answer
navigator.credentials.create()/navigator.credentials.get()ceremonies in the page — no real hardware key required, works in all browsers:You can also let the app register a passkey once in a setup test, read it back with Credentials.GetAsync(), and seed it into later tests — see Credentials for details.
🗃️ Web Storage
New WebStorage API, available via Page.LocalStorage and Page.SessionStorage, reads and writes the page's storage for the current origin:
New APIs
ArtifactsDirin BrowserType.ConnectOverCDPAsync() controls where artifacts such as traces and downloads are stored when attached to an existing browser.Cursorin Screencast.ShowActionsAsync() controls the cursor decoration rendered for pointer actions.OnFramecallback in Screencast.StartAsync() now receives aTimestampof when the frame was presented by the browser.🛠️ Other improvements
Browser Versions
This version was also tested against the following stable channels:
... (truncated)
1.60.0
💬 Custom assertion messages
Expect()overloads now accept a custom message that is prepended to any failure, giving extra context in test reports:When the assertion fails, the message is prefixed:
🌐 HAR recording on Tracing
Tracing.StartHarAsync() / Tracing.StopHarAsync() expose HAR recording as a first-class tracing API, with the same
Content,ModeandUrlFilteroptions asRecordHar:🪝 Drop API
New Locator.DropAsync() simulates an external drag-and-drop of files or clipboard-like data onto an element. Playwright dispatches
dragenter,dragover, anddropwith a synthetic [DataTransfer] in the page context — works cross-browser and is great for testing upload zones:🎯 Aria snapshots
Page.Locator("body").Boxesoption on Locator.AriaSnapshotAsync() / Page.AriaSnapshotAsync() appends each element's bounding box as[box=x,y,width,height], useful for AI consumption.... (truncated)
1.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:
... (truncated)
Commits viewable in compare view.