Skip to content

Conversation

@dependabot
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] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jul 1, 2022
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jul 15, 2022

Superseded by #169.

@dependabot dependabot bot closed this Jul 15, 2022
@dependabot dependabot bot deleted the dependabot/pip/playwright-1.23.0 branch July 15, 2022 07:13
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.

1 participant