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

⬆️ Bump playwright from 1.22.0 to 1.23.0 #183

Merged
merged 1 commit into from
Jul 1, 2022

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 1, 2022

Bumps playwright from 1.22.0 to 1.23.0.

Release notes

Sourced from playwright's releases.

v1.23.0

Version 1.23

Network Replay

Now you can record network traffic into a HAR file and re-use this traffic in your tests.

To record network into HAR file:

npx playwright open --save-har=github.har.zip https://github.com/microsoft

Alternatively, you can record HAR programmatically:

context = browser.new_context(record_har_path="github.har.zip")
# ... do stuff ...
context.close()

Use the new methods method: Page.route_from_har or method: BrowserContext.route_from_har to serve matching responses from the HAR file:

context.route_from_har("github.har.zip")

Read more in our documentation.

Advanced Routing

You can now use method: Route.fallback to defer routing to other handlers.

Consider the following example:

# Remove a header from all requests
def remove_header_handler(route: Route) -> None:
    headers = route.request.all_headers()
    if "if-none-match" in headers:
        del headers["if-none-match"]
    route.fallback(headers=headers)
page.route("**/*", remove_header_handler)
Abort all images
def abort_images_handler(route: Route) -> None:
if route.request.resource_type == "image":
route.abort()
</tr></table>

... (truncated)

Commits
  • 0f0c735 chore: roll Playwright to 1.23.1 (#1393)
  • 36ff52e chore: port update option for routeFromHar (#1392)
  • b2e3b93 chore: port routeFromHar, roll to 1.23.0 driver (#1384)
  • 7b424eb chore: port route chaining, fallback, async, times (#1376)
  • 84d94a3 chore: port record_har_* options (content, mode, url_filter) (#1382)
  • 7b9ac37 chore: expose local_utils (#1383)
  • 0e3a502 fix: _race_with_page_close swallowed exception (#1379)
  • f742da9 chore(roll): roll Playwright to 1.23.0-beta-1656026605000 (1/n) (#1374)
  • 034511f chore: allow forking control flow in route (#1375)
  • 5d33195 chore: rework apiName api call handling in connection (#1361)
  • 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 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)

Bumps [playwright](https://github.com/Microsoft/playwright-python) from 1.22.0 to 1.23.0.
- [Release notes](https://github.com/Microsoft/playwright-python/releases)
- [Commits](microsoft/playwright-python@v1.22.0...v1.23.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 added the dependencies Pull requests that update a dependency file label Jul 1, 2022
@codecov-commenter
Copy link

codecov-commenter commented Jul 1, 2022

Codecov Report

Merging #183 (7519819) into master (50f6d2a) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #183   +/-   ##
=======================================
  Coverage   97.44%   97.44%           
=======================================
  Files          14       14           
  Lines        1175     1175           
=======================================
  Hits         1145     1145           
  Misses         30       30           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 50f6d2a...7519819. Read the comment docs.

@roniemartinez roniemartinez merged commit 9b71b02 into master Jul 1, 2022
@roniemartinez roniemartinez deleted the dependabot/pip/playwright-1.23.0 branch July 1, 2022 15:43
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants