github microsoft/playwright-python v1.22.0

latest releases: v1.48.0, v1.47.0, v1.46.0...
2 years ago

Highlights

  • Role selectors that allow selecting elements by their ARIA role, ARIA attributes and accessible name.

    # Click a button with accessible name "log in"
    page.click("role=button[name='log in']")

    Read more in our documentation.

  • New [method: Locator.filter] API to filter an existing locator

    buttons = page.locator("role=button")
    # ...
    submit_button = buttons.filter(has_text="Submit")
    submit_button.click()
  • Codegen now supports generating Pytest Tests

    Graphics

Browser Versions

  • Chromium 102.0.5005.40
  • Mozilla Firefox 99.0.1
  • WebKit 15.4

This version was also tested against the following stable channels:

  • Google Chrome 101
  • Microsoft Edge 101

Don't miss a new playwright-python release

NewReleases is sending notifications on new releases.