microsoft / playwright

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
https://playwright.dev
Apache License 2.0
66.97k stars 3.67k forks source link

[Bug]: 'Pick Locator' doesn't update the Locator in Codegen #33625

Open mxschmitt opened 2 hours ago

mxschmitt commented 2 hours ago

Version

@next

Steps to reproduce

  1. Open codegen on https://primevue.org/inputnumber/
  2. Pick locator on the 'Integer only' input field

Expected behavior

Locator gets updated in the Inspector

Actual behavior

It stays 'is not available during recording'

Additional context

No response

Environment

n/a
mxschmitt commented 2 hours ago

Regressed in https://github.com/microsoft/playwright/commit/e534fba60f1b87689a70e82f6ab41f83ce262e14

pavelfeldman commented 58 minutes ago

This is what I get on 1.48:

Image