Skip to content

Commit 7a39aff

Browse files
authored
Update README.md
1 parent d0a6384 commit 7a39aff

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ querySelectorDeep(".dropdown-item:not([hidden])");
3535

3636
Both of the methods above accept a 2nd parameter, see section `Provide alternative node`. This will change the starting element to search from i.e. it will find ancestors of that node that match the query.
3737

38+
## Known limitations
39+
- Source ordering of results may not be preserved. Due to the nature of how this library works, by breaking down selectors into parts, when using multiple selectors (e.g. split by commas) the results will be based on the order of the query, not the order the result appear in the dom. This is different from the native `querySelectorAll` functionality. You can read more about this here: https://github.com/Georgegriff/query-selector-shadow-dom/issues/54
40+
3841
## Plugins
3942

4043
### WebdriverIO

0 commit comments

Comments
 (0)