Vinyzu / Botright

Botright, the most advance undetected, fingerprint-changing, captcha-solving, open-source automation framework. Build on Playwright, its as easy to use as it is to extend your code. Solving your Captchas for free with AI.
GNU General Public License v3.0
451 stars 59 forks source link

Bump playwright from 1.40.0 to 1.42.0 #76

Closed dependabot[bot] closed 6 months ago

dependabot[bot] commented 6 months ago

Bumps playwright from 1.40.0 to 1.42.0.

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

v1.41.2

Highlights

microsoft/playwright-python#2258 - [REGRESSION] Failing step is not highlighted in red in actions panel for versions after 1.39.0 microsoft/playwright#29123 - [REGRESSION] route.continue: Protocol error (Fetch.continueRequest): Invalid InterceptionId.

Browser Versions

  • Chromium 121.0.6167.57
  • Mozilla Firefox 121.0
  • WebKit 17.4

This version was also tested against the following stable channels:

  • Google Chrome 120
  • Microsoft Edge 120

v1.41.1

Highlights

... (truncated)

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 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 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)