Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): bump playwright from 1.41.0 to 1.43.0 #233

Merged
merged 1 commit into from
Apr 29, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 10, 2024

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

@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Apr 10, 2024
Bumps [playwright](https://github.com/Microsoft/playwright-python) from 1.41.0 to 1.43.0.
- [Release notes](https://github.com/Microsoft/playwright-python/releases)
- [Commits](microsoft/playwright-python@v1.41.0...v1.43.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/pip/playwright-1.43.0 branch from 9ac3fd5 to de42fa8 Compare April 29, 2024 13:26
@eggplants eggplants merged commit c0a26b1 into master Apr 29, 2024
2 of 3 checks passed
@eggplants eggplants deleted the dependabot/pip/playwright-1.43.0 branch April 29, 2024 18:28
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 python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant