microsoft/playwright-dotnet (Microsoft.Playwright)
### [`v1.46.0`](https://togithub.com/microsoft/playwright-dotnet/releases/tag/v1.46.0)
#### TLS Client Certificates
Playwright now allows to supply client-side certificates, so that server can verify them, as specified by TLS Client Authentication.
You can provide client certificates as a parameter of [browser.NewContextAsync()](https://playwright.dev/dotnet/docs/api/class-browser#browser-new-context) and [APIRequest.NewContextAsync()](https://playwright.dev/dotnet/docs/api/class-apirequest#api-request-new-context). The following snippet sets up a client certificate for `https://example.com`:
```csharp
var context = await Browser.NewContextAsync(new() {
ClientCertificates = [
new() {
Origin = "https://example.com",
CertPath = "client-certificates/cert.pem",
KeyPath = "client-certificates/key.pem",
}
]
});
```
When using the MSTest or NUnit base-classes, these can be added by using the [ContextOptions](https://playwright.dev/dotnet/docs/test-runners#customizing-browsercontext-options) method.
#### Trace Viewer Updates
- Content of text attachments is now rendered inline in the attachments pane.
- New setting to show/hide routing actions like [route.ContinueAsync()](https://playwright.dev/dotnet/docs/api/class-route#route-continue).
- Request method and status are shown in the network details tab.
- New button to copy source file location to clipboard.
- Metadata pane now displays the `BaseURL`.
#### Miscellaneous
- New `MaxRetries` option in [apiRequestContext.FetchAsync()](https://playwright.dev/dotnet/docs/api/class-apirequestcontext#api-request-context-fetch) which retries on the `ECONNRESET` network error.
#### Browser Versions
- Chromium 128.0.6613.18
- Mozilla Firefox 128.0
- WebKit 18.0
This version was also tested against the following stable channels:
- Google Chrome 127
- Microsoft Edge 127
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
1.45.1
->1.46.0
Release Notes
microsoft/playwright-dotnet (Microsoft.Playwright)
### [`v1.46.0`](https://togithub.com/microsoft/playwright-dotnet/releases/tag/v1.46.0) #### TLS Client Certificates Playwright now allows to supply client-side certificates, so that server can verify them, as specified by TLS Client Authentication. You can provide client certificates as a parameter of [browser.NewContextAsync()](https://playwright.dev/dotnet/docs/api/class-browser#browser-new-context) and [APIRequest.NewContextAsync()](https://playwright.dev/dotnet/docs/api/class-apirequest#api-request-new-context). The following snippet sets up a client certificate for `https://example.com`: ```csharp var context = await Browser.NewContextAsync(new() { ClientCertificates = [ new() { Origin = "https://example.com", CertPath = "client-certificates/cert.pem", KeyPath = "client-certificates/key.pem", } ] }); ``` When using the MSTest or NUnit base-classes, these can be added by using the [ContextOptions](https://playwright.dev/dotnet/docs/test-runners#customizing-browsercontext-options) method. #### Trace Viewer Updates - Content of text attachments is now rendered inline in the attachments pane. - New setting to show/hide routing actions like [route.ContinueAsync()](https://playwright.dev/dotnet/docs/api/class-route#route-continue). - Request method and status are shown in the network details tab. - New button to copy source file location to clipboard. - Metadata pane now displays the `BaseURL`. #### Miscellaneous - New `MaxRetries` option in [apiRequestContext.FetchAsync()](https://playwright.dev/dotnet/docs/api/class-apirequestcontext#api-request-context-fetch) which retries on the `ECONNRESET` network error. #### Browser Versions - Chromium 128.0.6613.18 - Mozilla Firefox 128.0 - WebKit 18.0 This version was also tested against the following stable channels: - Google Chrome 127 - Microsoft Edge 127Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.