Skip to content

Bump playwright from 1.43.0 to 1.51.0#4172

Closed
dependabot[bot] wants to merge 1 commit into
developfrom
dependabot/pip/develop/playwright-1.51.0
Closed

Bump playwright from 1.43.0 to 1.51.0#4172
dependabot[bot] wants to merge 1 commit into
developfrom
dependabot/pip/develop/playwright-1.51.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Apr 1, 2025

Bumps playwright from 1.43.0 to 1.51.0.

Release notes

Sourced from playwright's releases.

v1.51.0

Highlights

  • New option indexed_db for browserContext.storage_state() 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.
    storage = context.storage_state(path="state.json", indexed_db=True)
    Create a new context with the saved storage state.
    context = browser.new_context(storage_state="state.json")

  • New option visible for locator.filter() allows matching only visible elements.

    # Ignore invisible todo items.
    todo_items = page.get_by_test_id("todo-item").filter(visible=True)
    # Check there are exactly 3 visible ones.
    expect(todo_items).to_have_count(3)
  • New option contrast for methods page.emulate_media() and browser.new_context() allows to emulate the prefers-contrast media feature.

  • New option fail_on_status_code 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

v1.50.0

Async Pytest Plugin

Miscellaneous

UI updates

  • New button in Codegen for picking elements to produce aria snapshots.
  • Additional details (such as keys pressed) are now displayed alongside action API calls in traces.
  • Display of canvas content in traces is error-prone. Display is now disabled by default, and can be enabled via the Display canvas content UI setting.
  • Call and Network panels now display additional time information.

Breaking

... (truncated)

Commits
  • 256635b devops: fix ESRP publishing
  • 3f97c8a chore(roll): roll Playwright to 1.51.1 (#2786)
  • 25fb05d test: migrate flaky plugin to rerunfailures (#2772)
  • 1b95464 chore(roll): roll Playwright to 1.51.0-beta-1741166263000 (#2767)
  • 55725d5 test: unflake tests (#2768)
  • 8533973 build(deps): bump setuptools from 75.8.0 to 75.8.2 (#2763)
  • 23f1532 build(deps): bump pytest from 8.3.4 to 8.3.5 (#2762)
  • 3e61c3f build(deps): bump types-requests from 2.32.0.20241016 to 2.32.0.20250301 (#2761)
  • 738f98d devops: use ESRP PME for publishing (#2760)
  • 4e98d68 build(deps): bump flake8 from 7.1.1 to 7.1.2 (#2748)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [playwright](https://github.com/microsoft/playwright-python) from 1.43.0 to 1.51.0.
- [Release notes](https://github.com/microsoft/playwright-python/releases)
- [Commits](microsoft/playwright-python@v1.43.0...v1.51.0)

---
updated-dependencies:
- dependency-name: playwright
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file Minor python Pull requests that update Python code labels Apr 1, 2025
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github May 1, 2025

Superseded by #4201.

@dependabot dependabot Bot closed this May 1, 2025
@dependabot dependabot Bot deleted the dependabot/pip/develop/playwright-1.51.0 branch May 1, 2025 11:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file Minor python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants