lona-web-org / lona

Write responsive web apps in full python
MIT License
526 stars 27 forks source link

build: Bump playwright from 1.40.0 to 1.43.0 #556

Closed dependabot[bot] closed 3 months ago

dependabot[bot] commented 4 months ago

Bumps playwright from 1.40.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

You can trigger a rebase of this PR 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)

Note Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

dependabot[bot] commented 3 months ago

Superseded by #567.