Dmitry Gozman
b50c363bba
docs(selectors): add quick guide section ( #5346 )
2021-02-08 19:51:11 -08:00
Dmitry Gozman
894abbfe28
feat(selectors): has-text pseudo-class ( #5120 )
...
This pseudo-class matches approximately when
`element.textContent.includes(textToSearchFor)`.
2021-01-25 14:19:07 -08:00
Dmitry Gozman
7a4b94e66c
feat(selectors): nth-match selector ( #5081 )
...
Introduces :nth-match(ul > li, 3) css extension, with one-based index.
2021-01-21 16:39:49 -08:00
Dmitry Gozman
19acf998da
docs: minor updates to selectors.md ( #5055 )
2021-01-19 10:48:18 -08:00
Dmitry Gozman
0586c2554f
feat(text selector): normalize whitespace for quoted match ( #5049 )
...
This changes quoted text selector like `text="Foo Bar"` to perform
normalized whitespace match.
Most of the time users want to match some string visible on the page,
and that always means normalized whitespace.
We keep the case sensitivity and full-string vs substring difference
between quoted and unquoted matches.
2021-01-19 09:30:34 -08:00
Pavel Feldman
9e3bd78649
docs: update selectors doc to be more like a guide ( #5048 )
2021-01-18 20:59:16 -08:00
Dmitry Gozman
e85f278869
docs: more python docs and snippets ( #5021 )
2021-01-14 15:01:39 -08:00
Dmitry Gozman
d62b661cfa
docs: rename proximity selectors to position selectors ( #4975 )
2021-01-11 18:25:41 -08:00
Pavel Feldman
114d586f07
chore: add python aliases ( #4949 )
2021-01-08 15:00:14 -08:00
Dmitry Gozman
d08cbc33a7
docs: brush up selector docs ( #4939 )
...
docs: brush up selector docs
- Remove duplication
- Move extensions block to ChromiumBrowser
- Remove accidental ":xpath" extension from css selectors
- Document :has and :is extensions
2021-01-08 10:59:24 -08:00
Dmitry Gozman
eb9ea20511
feat(selectors): proximity selectors ( #4923 )
2021-01-07 14:12:59 -08:00
Pavel Feldman
2311c282d6
docs: pref docs to be language-specific ( #4916 )
2021-01-06 11:59:29 -08:00
Pavel Feldman
ae935a43d9
doc: further align docs w/ playwright.dev ( #4866 )
2021-01-03 08:47:29 -08:00