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.29.1 #185

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps playwright from 1.22.0 to 1.29.1.

Release notes

Sourced from playwright's releases.

v1.29.1

Bugfixes

v1.29.0

Highlights

New APIs

  • New method Route.fetch and new option json for Route.fulfill:

    def handle_route(route: Route):
      # Fetch original settings.
      response = route.fetch()
      # Force settings theme to a predefined value.
      json = response.json()
      json["theme"] = "Solorized"
      # Fulfill with modified data.
      route.fulfill(json=json)
    page.route("**/api/settings", handle_route)
    
  • New method Locator.all to iterate over all matching elements:

    # Check all checkboxes!
    checkboxes = page.get_by_role("checkbox")
    for checkbox in checkboxes.all():
      checkbox.check()
    
  • Locator.select_option matches now by value or label:

    <select multiple>
      <option value="red">Red</div>
      <option value="green">Green</div>
      <option value="blue">Blue</div>
    </select>
    
    element.select_option("Red")
    

Miscellaneous

... (truncated)

Commits


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 #186.