Skip to content

Update dependency Microsoft.Playwright to 1.52.0#1063

Merged
renovate[bot] merged 1 commit intodev8from
renovate/playwright-dotnet-monorepo
May 15, 2025
Merged

Update dependency Microsoft.Playwright to 1.52.0#1063
renovate[bot] merged 1 commit intodev8from
renovate/playwright-dotnet-monorepo

Conversation

@renovate
Copy link
Copy Markdown
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 26 times, most recently from d476a4d to 402ad14 Compare May 11, 2025 17:56
@renovate renovate bot force-pushed the renovate/playwright-dotnet-monorepo branch 3 times, most recently from 53c629f to 66db065 Compare May 12, 2025 06:10
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