PaiGramTeam / PaiGram

telegram robot, query the official genshin information
GNU Affero General Public License v3.0
84 stars 24 forks source link

:arrow_up: Update playwright requirement from 1.39.0 to 1.42.0 #768

Closed dependabot[bot] closed 7 months ago

dependabot[bot] commented 8 months ago

Updates the requirements on playwright to permit the latest version.

Release notes

Sourced from playwright's releases.

v1.42.0

New Locator Handler

New method page.add_locator_handler(locator, handler) registers a callback that will be invoked when specified element becomes visible and may block Playwright actions. The callback can get rid of the overlay. Here is an example that closes a cookie dialog when it appears.

# Setup the handler.
page.add_locator_handler(
    page.get_by_role("heading", name="Hej! You are in control of your cookies."),
    lambda: page.get_by_role("button", name="Accept all").click(),
)
# Write the test as usual.
page.goto("https://www.ikea.com/")
page.get_by_role("link", name="Collection of blue and white").click()
expect(page.get_by_role("heading", name="Light and easy")).to_be_visible()

New APIs

Announcements

  • ⚠️ Ubuntu 18 is not supported anymore.

Browser Versions

  • Chromium 123.0.6312.4
  • Mozilla Firefox 123.0
  • WebKit 17.4

This version was also tested against the following stable channels:

  • Google Chrome 122
  • Microsoft Edge 123
Commits
  • 665af8d Revert "fix: datetime serialisation (#2314)"
  • 2ab641a Revert "test: fix deprecated datetime serialisation (follow-up to #2314)"
  • 58551ad chore(roll): roll Playwright to v1.42.1 (#2340)
  • f6071ee build(deps): bump wheel from 0.41.2 to 0.42.0 (#2324)
  • 0d2899a build(deps): bump twisted from 23.10.0 to 24.3.0 (#2337)
  • 07efec1 build(deps): bump types-pyopenssl from 24.0.0.20240130 to 24.0.0.20240228 (#2...
  • 274ea8f build(deps): bump setuptools from 68.2.2 to 69.1.1 (#2339)
  • 2dd251c build(deps): bump types-requests from 2.31.0.10 to 2.31.0.20240218 (#2326)
  • 9517a9a build(deps): bump objgraph from 3.6.0 to 3.6.1 (#2327)
  • 84a62e4 build(deps): bump pyopenssl from 23.2.0 to 24.0.0 (#2325)
  • Additional commits viewable in compare view


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 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)
dependabot[bot] commented 7 months ago

Superseded by #788.