qahive / robotframework-puppeteer

Puppeteer Web testing library for Robot Framework
Apache License 2.0
56 stars 14 forks source link

Bump playwright from 1.22.0 to 1.23.1 #169

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 2 years ago

Bumps playwright from 1.22.0 to 1.23.1.

Release notes

Sourced from playwright's releases.

v1.23.1

Bug Fixes

  • [BUG] Frame is emitted on Page events domcontentloaded/load #1399
  • [Question]: Task was destroyed but it is pending! in route.abort() #1402

v1.23.0

Highlights

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)

</tr></table>

... (truncated)

Commits
  • 162afd7 cherry-pick(#1430): fix(tasks): cancel all the pending tasks as we exit own l...
  • 024444e cherry-pick(#1400): fix: emit Page on load/DOMContentLoaded (#1403)
  • 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)
  • 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)
dependabot[bot] commented 1 year ago

Superseded by #170.