playwright/packages
Max Schmitt f48861ddee
fix(inspector): highlight xpath/css locators without engine prefix (#27742)
Motivation: As of today when a user inspects a Locator which is a xpath,
it won't work if the user has not prefixed it with `xpath=` because we
internally compare the given with the generated locator.

Works: `locator('xpath=//div[contains(@class, "foo")]')`
Does not work: `locator('//div[contains(@class, "foo")]')`

Relates
https://github.com/microsoft/playwright/issues/27707#issue-1952360264
Fixes
https://github.com/microsoft/playwright-dotnet/issues/2718#issuecomment-1771073816

---------

Signed-off-by: Max Schmitt <max@schmitt.mx>
2023-10-23 18:23:28 +02:00
..
html-reporter feat(html): "copy to clipboard" for text attachments (#27556) 2023-10-11 17:56:05 -07:00
playwright chore(test runner): simplify some dispatcher logic (#27732) 2023-10-23 09:15:13 -07:00
playwright-browser-chromium chore: mark 1.40.0-next (#27538) 2023-10-10 16:10:28 -07:00
playwright-browser-firefox chore: mark 1.40.0-next (#27538) 2023-10-10 16:10:28 -07:00
playwright-browser-webkit chore: mark 1.40.0-next (#27538) 2023-10-10 16:10:28 -07:00
playwright-chromium chore: mark 1.40.0-next (#27538) 2023-10-10 16:10:28 -07:00
playwright-core fix(inspector): highlight xpath/css locators without engine prefix (#27742) 2023-10-23 18:23:28 +02:00
playwright-ct-core fix(ct): baseURL playwright config (#27689) 2023-10-18 13:53:58 -07:00
playwright-ct-react chore: mark 1.40.0-next (#27538) 2023-10-10 16:10:28 -07:00
playwright-ct-react17 chore: mark 1.40.0-next (#27538) 2023-10-10 16:10:28 -07:00
playwright-ct-solid fix(ct): solid render array as child (#27715) 2023-10-20 11:44:30 -07:00
playwright-ct-svelte chore: mark 1.40.0-next (#27538) 2023-10-10 16:10:28 -07:00
playwright-ct-vue chore: mark 1.40.0-next (#27538) 2023-10-10 16:10:28 -07:00
playwright-ct-vue2 chore: mark 1.40.0-next (#27538) 2023-10-10 16:10:28 -07:00
playwright-firefox chore: mark 1.40.0-next (#27538) 2023-10-10 16:10:28 -07:00
playwright-test chore: mark 1.40.0-next (#27538) 2023-10-10 16:10:28 -07:00
playwright-webkit chore: mark 1.40.0-next (#27538) 2023-10-10 16:10:28 -07:00
protocol/src fix: preserve lastModified timestamp in setInputFiles (#27671) 2023-10-18 14:05:09 -07:00
recorder fix(recorder): Locator picker had wrong initial language in language bindings (#27706) 2023-10-22 13:02:14 +02:00
trace/src fix(tracing): bump trace version to V5, migrate V4 traces to consoleMessage.args (#27162) 2023-09-19 16:21:09 -07:00
trace-viewer chore: better error for trace viewer over http:// (#27722) 2023-10-23 18:21:19 +02:00
web feat(trace): allow navigating from error to source (#27464) 2023-10-05 14:59:59 -07:00
.eslintrc-with-ts-config.js lint: prevent object string concatenation (#23172) 2023-05-19 15:17:43 -07:00
.eslintrc.js chore: replace process.exit with graceful closure (#24242) 2023-07-24 08:29:29 -07:00