Skip to content

chore: roll Playwright to v1.65.0 - #3328

Closed
Pavel Feldman (pavelfeldman) wants to merge 1 commit into
microsoft:mainfrom
pavelfeldman:roll-1.65.0
Closed

Pavel Feldman (pavelfeldman) wants to merge 1 commit into
microsoft:mainfrom
pavelfeldman:roll-1.65.0

Conversation

@pavelfeldman

Copy link
Copy Markdown
Member

🧾 Locator code in Python

A locator from locator.normalize() now converts to a string as Python code. Use it with page.get_by_ref() to turn an element that an agent picks from a page.aria_snapshot() in the "ai" mode into code for your test:

normalized = page.get_by_ref("e2").normalize()
print(str(normalized))
# get_by_role("button", name="Submit")

New APIs

Breaking Changes ⚠️

Announcements

  • 🐍 The Python client is now a line-by-line port of the Node.js client, so it behaves the same way. The API did not change. If you see a change in behavior, file an issue.
  • 📦 Playwright now publishes a source distribution next to the wheels. It does not include Node.js, so installs that do not accept wheels now work, such as pip install --no-binary :all: and Poetry with installer.no-binary. An install from the source distribution uses a pre-installed Node.js that you set with PLAYWRIGHT_NODEJS_PATH.
  • 🧩 pyee is not a dependency anymore, so it no longer conflicts with packages that need a different version of it.

Browser Versions

  • Chromium 158.0.8127.18
  • Mozilla Firefox 159.0
  • WebKit 27.2

This version was also tested against the following stable channels:

  • Google Chrome 157
  • Microsoft Edge 156

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant