mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-13 17:14:02 +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`. |
||
---|---|---|
.. | ||
android | ||
assets | ||
components | ||
config | ||
electron | ||
library | ||
page | ||
playwright-test | ||
index.d.ts | ||
tsconfig.json |