Open Krugloff opened 3 weeks ago
@Krugloff
I think we should just update the lexbor sources in nokolexbor.
In lexbor:
<div><div class="newscard position1"></div><div class="newscard position2"></div><div class="more-news"></div><div class="newscard position3"></div><div class="newscard position4"></div><div></div></div>
Selectors: .newscard:not(.more-news ~ .newscard)
1) <div class="newscard position1">
2) <div class="newscard position2">
Count: 2
The
~
selector is not working as expected.I'm trying to extract only the blocks that appear before the
.more-news
element. This works in the browser but doesn't behave as expected in my code.Environment
Additional context