mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-15 06:02:57 +03:00
a8d4a8aa52
Previously, any unpaired quote in the text selector "escaped" everything till the end of the selector string, and so any subsequent chained selectors, including ">>" separator were ignored. An example of misbehaving selector: `text=19" >> nth=1`. Now, when text selector contains a non-leading quote, selector parser does not assume it should escape ">>" separator and correctly tokenizes all selectors from the chain. Note that this behavior is a workaround for the fact that our text selectors is somewhat poorly defined in this area. That said, this workaround seems to be safe enough. It still does not work for unpaired leading quotes like this: `text="19 >> nth=1`. |
||
---|---|---|
.. | ||
html-reporter | ||
playwright | ||
playwright-chromium | ||
playwright-core | ||
playwright-ct-react | ||
playwright-ct-svelte | ||
playwright-ct-vue | ||
playwright-firefox | ||
playwright-test | ||
playwright-webkit | ||
recorder | ||
trace-viewer | ||
web | ||
.eslintrc.js |