sergerdn / py-bas-automation

This library enables you to work with BAS (BrowserAutomationStudio) using headless Chromium browsers and a customizable Windows GUI program, while controlling it with Python ❤️.
MIT License
14 stars 5 forks source link

chore(deps-dev): bump playwright from 1.39.0 to 1.43.0 #140

Open dependabot[bot] opened 7 months ago

dependabot[bot] commented 7 months ago

Bumps playwright from 1.39.0 to 1.43.0.

Release notes

Sourced from playwright's releases.

v1.43.0

New APIs

  • Method BrowserContext.clear_cookies([options]) now supports filters to remove only some cookies.

    # Clear all cookies.
    context.clear_cookies()
    # New: clear cookies with a particular name.
    context.clear_cookies(name="session-id")
    # New: clear cookies for a particular domain.
    context.clear_cookies(domain="my-origin.com")
    
  • New method locator.content_frame converts a {@​link Locator} object to a FrameLocator. This can be useful when you have a Locator object obtained somewhere, and later on would like to interact with the content inside the frame.

    locator = page.locator("iframe[name='embedded']")
    # ...
    frame_locator = locator.content_frame
    frame_locator.getByRole("button").click()
    
  • New method frameLocator.owner converts a FrameLocator object to a Locator. This can be useful when you have a FrameLocator object obtained somewhere, and later on would like to interact with the iframe element.

    frame_locator = page.frame_locator("iframe[name='embedded']")
    # ...
    locator = frame_locator.owner
    expect(locator).to_be_visible()
    
  • Conda builds are now published for macOS-arm64 and Linux-arm64.

Browser Versions

  • Chromium 124.0.6367.8
  • Mozilla Firefox 124.0
  • WebKit 17.4

This version was also tested against the following stable channels:

  • Google Chrome 123
  • Microsoft Edge 123

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(
</tr></table> 

... (truncated)

Commits
  • d12ce3b feat(roll): roll Playwright to v1.43 (#2395)
  • d1e3f3c build(deps): bump types-requests from 2.31.0.20240311 to 2.31.0.20240406 (#2396)
  • b26b1f5 test: port test_launcher to sync test-suite (#2392)
  • d796ac7 devops(conda): publish a single version per OS instead of each supported Pyth...
  • ac6e957 fix(cli): don't show a stack trace when command + c of the CLI (#2390)
  • 66ddfee devops: add osx-arm64 and linux-aarch64 conda package builds (#2211)
  • 6a10c42 build(deps): bump pillow from 10.2.0 to 10.3.0 (#2387)
  • 7e5f197 feat(roll): roll Playwright to 1.43.0-beta-1711484700000 (#2381)
  • 6a84c65 build(deps): bump flaky from 3.8.0 to 3.8.1 (#2377)
  • 963d16d build(deps): bump setuptools from 69.1.1 to 69.2.0 (#2379)
  • 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)
codecov[bot] commented 7 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 88.74%. Comparing base (de2afa6) to head (8946b49).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #140 +/- ## =========================================== + Coverage 87.62% 88.74% +1.12% =========================================== Files 33 33 Lines 711 711 =========================================== + Hits 623 631 +8 + Misses 88 80 -8 ``` | [Flag](https://app.codecov.io/gh/sergerdn/py-bas-automation/pull/140/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Sergey) | Coverage Δ | | |---|---|---| | [tests_functional](https://app.codecov.io/gh/sergerdn/py-bas-automation/pull/140/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Sergey) | `88.74% <ø> (+1.12%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Sergey#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.