mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-14 13:45:36 +03:00
f48861ddee
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> |
||
---|---|---|
.. | ||
android | ||
assets | ||
components | ||
config | ||
electron | ||
image_tools | ||
installation | ||
library | ||
page | ||
playwright-test | ||
stress | ||
webview2 | ||
.eslintrc.js | ||
index.d.ts | ||
tsconfig.json |