Skip to content

Update dependency Microsoft.Playwright to 1.52.0 #1063

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: dev8
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 18, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
Microsoft.Playwright 1.50.0 -> 1.52.0 age adoption passing confidence

Release Notes

microsoft/playwright-dotnet (Microsoft.Playwright)

v1.51.0

Highlights

  • New option IndexedDB for BrowserContext.StorageStateAsync() allows to save and restore IndexedDB contents. Useful when your application uses IndexedDB API to store authentication tokens, like Firebase Authentication.

    Here is an example following the authentication guide:

    // Save storage state into the file. Make sure to include IndexedDB.
    await context.StorageStateAsync(new()
    {
        Path = "../../../playwright/.auth/state.json",
        IndexedDB = true
    });
    
    // Create a new context with the saved storage state.
    var context = await browser.NewContextAsync(new()
    {
        StorageStatePath = "../../../playwright/.auth/state.json"
    });
  • New option Visible for locator.filter() allows matching only visible elements.

    // Ignore invisible todo items.
    var todoItems = Page.GetByTestId("todo-item").Filter(new() { Visible = true });
    // Check there are exactly 3 visible ones.
    await Expect(todoItems).ToHaveCountAsync(3);
  • New option Contrast for methods page.emulateMedia() and Browser.NewContextAsync() allows to emulate the prefers-contrast media feature.

  • New option FailOnStatusCode makes all fetch requests made through the APIRequestContext throw on response codes other than 2xx and 3xx.

Browser Versions

  • Chromium 134.0.6998.35
  • Mozilla Firefox 135.0
  • WebKit 18.4

This version was also tested against the following stable channels:

  • Google Chrome 133
  • Microsoft Edge 133

Configuration

📅 Schedule: Branch creation - "before 1am,before 5am,before 9am" in timezone Asia/Shanghai, Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, 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 was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/playwright-dotnet-monorepo branch 2 times, most recently from f07391c to cb8e933 Compare March 25, 2025 09:31
@renovate renovate bot force-pushed the renovate/playwright-dotnet-monorepo branch 3 times, most recently from c1e2982 to e128f0e Compare March 31, 2025 06:38
@renovate renovate bot force-pushed the renovate/playwright-dotnet-monorepo branch 3 times, most recently from 5f35bb3 to 329194c Compare April 9, 2025 10:30
@renovate renovate bot force-pushed the renovate/playwright-dotnet-monorepo branch 7 times, most recently from ae042b8 to b2a8027 Compare April 17, 2025 09:32
@renovate renovate bot force-pushed the renovate/playwright-dotnet-monorepo branch 10 times, most recently from f2efdcc to ba162d0 Compare April 30, 2025 16:52
@renovate renovate bot changed the title Update dependency Microsoft.Playwright to 1.51.0 Update dependency Microsoft.Playwright to 1.52.0 Apr 30, 2025
@renovate renovate bot force-pushed the renovate/playwright-dotnet-monorepo branch 3 times, most recently from 211d509 to db618c2 Compare May 1, 2025 09:17
@renovate renovate bot force-pushed the renovate/playwright-dotnet-monorepo branch 27 times, most recently from 66db065 to 9b0e0cf Compare May 12, 2025 16:49
@renovate renovate bot force-pushed the renovate/playwright-dotnet-monorepo branch from 9b0e0cf to 6e98cf0 Compare May 12, 2025 22:39
@renovate renovate bot force-pushed the renovate/playwright-dotnet-monorepo branch from 6e98cf0 to d9c11c6 Compare May 13, 2025 03:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants